The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alternate posts colors
Is there a way to display posts in an alternate colors?
|
#2
|
||||
|
||||
What do you mean?
|
#3
|
|||
|
|||
Something like this
http://www.zatzy.com/street-racing-g...rally-car.html see how the alternate post colors are different |
#4
|
||||
|
||||
Try looking at your style's main CSS code?
|
#5
|
||||
|
||||
Just change it based on the postcount. Something like:
if $postcount % 2 stuff for if even else stuff for if odd (You'll have to write that correctly - I'm pre-coffee at the moment.) |
#6
|
|||
|
|||
Quote:
Do you know which template I need to change for this? |
#7
|
||||
|
||||
You would make the change in the postbit template (or postbit_legacy, depending which you use). You just need to put the condition around the "alt1" tag for the class in that <td>, I believe. If you have problems, post *exactly* what you did in the template with about three lines shown above and below your change (so we can tell where in the template you did it).
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|