How to highlight author comments in WordPress

Here’s how to make your own comments background color different from the rest of the commenter’s without using plugin.

First Step

Open your style.css or whatever the name of your css and add the following code

/*Use different color to match your theme*/
background-color: #B3FFCC !important; 

Step Two

Open your comments.php and look for the line similar to this code since almost of the theme are derived from “Kubrick theme” which is the default theme of wordpress.

  • And replace it with the following code

  • " id="comment-">
  • You are done! See my sample comment below.

    3 Responses

    1. eligio 11 years ago
    2. eligio 11 years ago

    Add Comment