Editing color on comments

  • Unknown's avatar

    Hi. Can anyone help me with the correct css to make a few changes to the comments on my blog? I like the comment-area very much as it is, its just the colors wich is wrong. I would like everyones comments to have gray background (#D8D8D8), and my own replies to other comments with pink background (#FF5096).
    Anyone who has knowledge to help me with this? :)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You have to change the color in four places, and make sure and include the !important in the li.bypostauthor declaration or the pink will be overridden by the gray.

    #commentlist li {
    background:#D8D8D8 none repeat scroll 0 0;
    }
    
    #commentlist li.thread-alt {
    background:#D8D8D8 none repeat scroll 0 0;
    }
    
    li.bypostauthor {
    background:#FF5096 none repeat scroll 0 0 !important;
    }
    
    li.byuser {
    background:#D8D8D8 none repeat scroll 0 0;
    }
  • Unknown's avatar

    Thank you so much! Working perfectly! :D

  • The topic ‘Editing color on comments’ is closed to new replies.