The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alternating POST Colors?
How can I create alternating row post colors? For example post 1. has a gray row background and post 2. has a green background.
The avatars and such should stay on the left side. I found ways to do this for the home and threads list but not posts inside threads. For example see this thread. It has alternating light and darker gray post colors. Can anyone please tell how to do this? |
#2
|
||||
|
||||
You can edit the postbit/postbit_legacy template and use a conditional to decide on a colour (and insert the appropriate CSS/HTML).
Code:
<if condition="$post['postcount'] % 2">POST IS EVEN<else />POST IS ODD</if> |
#3
|
|||
|
|||
Okay well I'm not a savvy html coder though. Can I paste that in the postbit and what else needs to be added?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|