Apologies if this has been asked before (I did a search but nothing returned). Is there a way we can alternate background colors of post excerpts on blog page? Ideally something we can achieve through CSS or hooks, as opposed to changing jQuery file.
Thanks for the reply. Sorry I didn’t make it clearer. What I’m after is 2 background colours. Let’s say the bricks with odd numbers get the red background and the ones with even numbers get blue background. I’m trying to find a way to automate it so I don’t have to change the background colour of each brick manually. Hope this is clear enough.
Your welcome. I think i found the basis of the code here anyway! Just added it to my scrap book in case it came in handy. Of course since i been use WP Show Posts its been collecting dust! So glad it got some use.