Help - Search - Members - Calendar
Full Version: alternate colours
Movable Type Community Forum > Additional Resources > Tips and Tricks
fire4god
hiya all. wonder if this has been answered. looked through but so far nothing.

i wanted to make 2 separate colours to make my entries look nicer. here's my blog at the moment. because my background's #333333 and my font's #CCCCCC, it looks kinda monotonous if i've got like long entries...

so was wondering, is there any tag which allows me to alternate the bg colour of the entries? let's say 1st entry's bg is #333333 then second's #666666. there's this sufficient contrast to show diff entries...

i could do like table borders but too much lines would make this layout messy...
ndns
Yes, you can do this. One method uses a plugin called Round Robin and the other uses PHP.

http://www.movabletype.org/support/?act=ST...ST&f=14&t=24074
http://www.movabletype.org/support/?act=ST...ST&f=14&t=24850
fire4god
thanks! works real well but i dunno how to get it to work for my archives... in the end just 'hardcoded' my archives sections...

here's my blog...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.