![]() |
Alternate posts colors
Is there a way to display posts in an alternate colors?
|
What do you mean?
|
Something like this
http://www.zatzy.com/street-racing-g...rally-car.html see how the alternate post colors are different |
Try looking at your style's main CSS code?
|
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.) |
Quote:
Do you know which template I need to change for this? |
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).
|
All times are GMT. The time now is 02:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|