The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I do this?
For example: my box is test1, test2, Test3 and test4. Now i want to box test1 and Test3 are red, test2 and test4 is blue ![]() |
|
#2
|
||||
|
||||
|
The forumid is used as an id for each row, ie. forum id 2 has an id of forum2. So, just write some CSS for it like:
#forum1 .forumrow, #forum3 .forumrow {background-color: red;} Do similar for forumid2 and forumid4. |
|
#3
|
|||
|
|||
|
Yes, I understand this, but I want to write a plugin or insert php to additional.css. When create one makes the box without having to manually edit.
|
|
#4
|
||||
|
||||
|
You can't use php in css.
Have a look at this: http://www.ich-lerne-css.de/track.ph...7/evenodd.html |
|
#5
|
|||
|
|||
|
Thank for girendra at www.minerskinz.com
|
|
#6
|
|||
|
|||
|
Quote:
Do I need to add something to the additional.css? the colors that put them in the alt1 and alt2? THANKS |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|