XF 2.2 Want to display subforums in columns

djbaxter

in memoriam 1947-2022
I want to display subforums below main node but the default just displays them in a string.

I would like to display them in 2-4 columns on the main forum index page.

These tips show some examples of how to do it for Xenforo 1.x, although they are not exactly what I want:

What CSS can I add to extra.less to get columns to work in XF 2.2?
 
Last edited:
Hey ,

Can you give me an example what exactly you need?
Thanks for you quick response, I'll try... :)

With the above code, the items of the sub node list is displayed like this:

Node1
sub-node1 sub-node2
sub-node3 sub-node4
sub-node5 sub-node6

I would prefer it like this:

Node1
sub-node1 sub-node4
sub-node2 sub-node5
sub-node3 sub-node6

Of course I could change the order manually, but then the sorting is "wrong" when you jump to Node1..

Hope this makes it clear.

PS: Can't get the spacing between the "columns" right, sorry..
 
Thanks for you quick response, I'll try... :)

With the above code, the items of the sub node list is displayed like this:

Node1
sub-node1 sub-node2
sub-node3 sub-node4
sub-node5 sub-node6

I would prefer it like this:

Node1
sub-node1 sub-node4
sub-node2 sub-node5
sub-node3 sub-node6

Of course I could change the order manually, but then the sorting is "wrong" when you jump to Node1..

Hope this makes it clear.

PS: Can't get the spacing between the "columns" right, sorry..
I don't think there is default way to do it..do order manually or possible to via custom development.
 
Last edited:
Back
Top Bottom