Viewing 4 replies - 1 through 4 (of 4 total)
  • In default theme with WP 2.3 there is file comments.php
    There on line 42 you’ll find:

    <?php
    		/* Changes every other comment to a different class */
    		$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
    	?>

    So just style the class alt in your css.
    Example: .alt { background: #ccc; }

    Thread Starter to_ul

    (@to_ul)

    thank you very much!!! 🙂 does it only work with wp2.3?

    Nope …found same code on WP 2.04 too.
    Don’t know if it’s in 1.5 and prior versions as I don’t have a copy.

    Thread Starter to_ul

    (@to_ul)

    great. thank you, for your help!!!!!!!
    i’ve found it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘zebra-styled-comments’ is closed to new replies.