It could not be easier than this… really! I remember how much trouble (well not too much) that I had to go through to get my wordpress page or post comments to alternate in colors; say I had 3 comments, the first would have a white background, the 2nd a gray background, the 3rd a white background and so on and so forth.
I was trying to do the same thing today with a WordPress 3.0 website that I am working on and I freaked out when I (at first) thought I had to do a lot of tweaking to get it to work. I was utterly wrong. It is so simple.
Simply open your style.css file located in your Theme folder and scroll down to the .commentlist .even {}
By default, the class is empty of styling. Simply add the style you want and voila…
ex. .commentlist .even { background-color:red; color:#fff;}
Your comments will alternate between two styles, that for odd ID’d comments and that for even ID’d comments. The style for odd comments would be the following in your style.css file:
.commentlist li.comment {
This is for people using the default twentyten theme that comes preinstalled with WordPress 3.0.


