Quantcast
Viewing all articles
Browse latest Browse all 10

vBulletin: How to list subforums in new line (not comma separated) [SOLVED]

List subforums in new lines can be achieved in vBulletin 4 just by making changes to CSS files.
If you are looking for the vBulletin3 way, check this link

EDIT: Just found this plugin which does the job and lets admin control the display of subforums in columns too! Cool, ain’t it?

To remove the commas between forums and separate them with a linea break in vBulletin 4, just edit your vbulletin.css and change from:

.commalist li {
	display:inline-block;
}
 
.commalist li:after {
/*	Comma +   */
	content:",\0000A0";
}

To:

.commalist li {
        display:block;
}
 
.commalist li:after {
/*	   */
        content:" \0000A0";
}

Now, to add a line break after the “subforums: ” text, edit forumbits.css and change from:

.moderators h4, .moderators .commalist, .subforums h4, .subforums .commalist {
	float:{vb:stylevar left};
	clear:{vb:stylevar right};
}

To:

.moderators h4, .moderators .commalist, .subforums h4, .subforums .commalist {
	float:{vb:stylevar left};
        clear:both;
}

Viewing all articles
Browse latest Browse all 10

Trending Articles