View Full Version : change alternating colors
Mythotical
07-09-2005, 03:58 AM
I want to take the alternating colors from the columns and have them effect the rows as shown on this site: http://com4.runboard.com/bintothematrix
Notice the light green, then below that, dark green, then down, light green, etc.
I wish to do that with a style I am working on but can't find where or what to change to get that same look.
Thanks in advance
Myth
Mythotical
07-09-2005, 04:00 AM
Wrong forum, could a mod please move this to the Modifications Request forum?
Thanks
Myth
BillyFischbach
07-09-2005, 04:23 AM
Edit the CSS with the hex codes that you want
Mythotical
07-09-2005, 05:02 AM
I have the colors changed, I want the rows to alternate colors instead of the columns.
http://testvb.eternaltide.net that is my testing board, choose Traveller from the style chooser.
amykhar
07-09-2005, 06:16 AM
I posted how to do this a long time ago at vbulletin.com in the templates forum.
It's a simple template edit, not a code change. Look for my posts in the templates forum at vbulletin.com and you should be able to find it.
yinyang
07-09-2005, 06:28 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=78678&highlight=alternating+colors" target="_blank">https://vborg.vbsupport.ru/showt...rnating+colors</a>
amykhar
07-09-2005, 01:08 PM
It doesn't have to be done with a file edit though. A template conditional can do the same thing.
Princeton
07-09-2005, 01:38 PM
try
class="<if condition="$forum['displayorder'] % 2 == 0">alt2<else />alt1</if>"
make sure your forum display order is in ORDER eg. 1,2,3,4
NOTE: you will have to replace all the 'class' instances
Mythotical
07-10-2005, 01:40 AM
Ok thanks everyone.
Amy, I will give it a look through, thanks.
prince, thanks for that, if I can't find Amy's then I will try that.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.