Different background color on every second post?
Hi,
I can't figure out how I can have different background color on every second post. I understand that it should be something that I do in the center column loop. The first posts should be white, the second yellow, the third white and so on... Someone that have any advices? Best, Sebastian |
I found the thread about it here:
http://forum.bytesforall.com/showthread.php?t=2013 But it didn't work with the code that could be found in index.php. It started working when I put this code in the loop: PHP Code:
HTML Code:
div.odd-post { |
All times are GMT -6. The time now is 11:25 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.