• Resolved Regenbui

    (@regenbui)


    Hi all,

    I am trying to give all even and odd comments a different color, so:

    comment-1: yellow
    comment-2: green
    comment-3: yellow
    comment-4: green

    I know I should work in my single.php page file, but i have no clue what to do. Using wordpress latest version of wordpress.

    Help is really appreciated since I cannot find a good explanation through the search.

Viewing 1 replies (of 1 total)
  • Thread Starter Regenbui

    (@regenbui)

    Found it out myself. Just put these two lines in your .css and it will work:

    .commentlist .even {
    background-color:grey;
    color:black;
    }
    .commentlist .odd {
    background-color:white;
    color:black;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Comment background color (even, odd)’ is closed to new replies.