XF 2.1 How can I place the sub-forums in a list?

svaughn114

Active member
Please see image....

I'm trying to group the sub-forums vertically to that it looks cleaner.

Subforums.webp


so that it would look like......


subforums2.webp
 
It doesn't work anymore.
I use the default style and XF 2.1.10.
It still works for the styles that were created before the update.
 
Last edited:
What about showing sub forums of sub forums to the right of that or something? I feel like the ability to visibly see two levels deep is not good and always hidden behind a click.
 
extra.less add code
CSS:
.node-subNodeFlatList {
    >li {
        display: inline-block;
        margin-right: 0;
        float: left;
        width: 50%;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }
}
A small recommendation, also add

Code:
.node-subNodeFlatList {
    >li:only-child {
        overflow: initial;
        float: initial;
        width: initial;
    }
}

That way, if there is only one subforum (and it has a long name), it won't get trimmed.
 
Top Bottom