XF 1.2 How to change the subforum list width per forum.

Moddis

Active member
Is there a way to define the width of each subforum column. For example, certain forum have 3-6 long subforum names so i would like to have then listed in as columns of 3 using the default style:

.node .subForumList li {
float: left;
width: 31%;
margin: 2px 0 2px 2%;
}

However some forum may have an uneven amount of 4-5 subforum so I would like to try and fit them all using:

.node .subForumList li {
float: left;
width: 20%;
margin: 2px 0 2px 2%;
}

Can I add something to the css to specify that it should only be applied to specific forum id ?
 
Back
Top Bottom