The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I create a class for each category
I'd like to modify each category with CSS but in vBulletin 5 I can only do that with forums and not categories.
How can I make a unique class for each individual category? lets say Category 1 is #Cat1, category 2 is #Cat2, etc. The purpose of this is so I can create a grid-view for categories. Thanks |
#2
|
||||
|
||||
Have I got it right?
Code:
<tr class="forum-item sub new" id="forum173" data-channel-id="173" data-lastcontent="1599453750" data-readtime="0"> Code:
tr#forum173 { background: black; } Screenshot |
#3
|
|||
|
|||
Quote:
so if "Test Category" id was 20, the class would be #category20 or something like that, just like forums. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|