![]() |
Diffrent color on every other <tr> ?
I've noticed that every vBulletin theme I've looked at has diffrent colors on every other colum (td) on the same row (tr).
My question: How do I add diffrent colors to every other row (tr) instead? I want every other row to be light and the other one to be dark. Any easy sulution for this? |
Do you mean you wish alternate posts to have different colors?
|
Quote:
And I wanted it to be like. Icon forum posts threads lastpost <- light Icon forum posts threads lastpost <- dark Icon forum posts threads lastpost <- light But, nvm. I made it the other way instead. :p |
Now it would be cool if we could have alternate posts of different color. A two color, alternating scheme. Would love to see this, thanks, rg.
|
If I'm understanding you guys correctly there already is a mod for this posted here.
|
Already found a sulution for it. :p Atleast for posts. But I guess it should work for threads aswell. Aslong as you change the condition. It might help the next person that needs it. So I'll just post it here. ;)
<td class="threadUser"<if condition="$post[postcount] % 2 == 0"> style="background-color: #d3d5d7;"</if>> |
All times are GMT. The time now is 02:42 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:
|