Perfect, thanks.Try adding this to the template extra.less:
View attachment 163987Less:.node-subNodeFlatList { >li { display: inline-block; margin-right: 0; float: left; width: 50%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } }
Try adding this to the template extra.less:
View attachment 163987Less:.node-subNodeFlatList { >li { display: inline-block; margin-right: 0; float: left; width: 50%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } }
.node-subNodeFlatList {
>li {
display: inline-block;
margin-right: 0;
float: left;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
}
}
Yeah, except that it used to display my nodes in two columns. And this didn't even get me a nice single column, so I'm glad it did at least that much for you. I'll work it out eventually, though, just got to play with it some.Thanks for idea !
XF 2.1
HTML:.node-subNodeFlatList { >li { display: inline-block; margin-right: 0; float: left; width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } }
Doh, this is what happens when you're trying to do stuff late at night and you're more tired than you think. Just got to change the width to 50%.Thanks for idea !
XF 2.1
HTML:.node-subNodeFlatList { >li { display: inline-block; margin-right: 0; float: left; width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } }
//Sub-Forums Display
.node-subNodeFlatList {
display: inline-block;li {
margin-right: 0;
float: left;
width: 50%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
}
}
.col1 {
width: 150px;
float: left;
}
I think this still works in 2.1...This seems to no longer work for XF 2.1. Anyone have the solution? TIA
Well, all I can say is it doesn't work for me without that column bit, for whatever reason. Even after uninstalling and deleting the addon that I was using that code in conjunction with, to parse some html, it still doesn't work. So maybe something's boinked on my end.I think this still works in 2.1...
Try adding this to the template extra.less:
View attachment 163987Less:.node-subNodeFlatList { >li { display: inline-block; margin-right: 0; float: left; width: 50%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.