How to highlight author comments in your WordPress site

Your WordPress blog posts may receive a large number of comments, and your response to these comments may be lost in the conversation. This article demonstrates how to use a distinct color to indicate the author of a blog post's response or comments in a thread.

To add customized CSS  to highlight author comments in WordPress, follow these steps:

  1. Log in to WordPress as the administrator.
  2. On the Dashboard in the left sidebar, click Appearance, and then click Customise:

  3. On the theme customization options, click on the “Additional CSS” :

  4. Insert the custom css code to highlight author response in the comment section (under blog post) in the customizing Additional CSS section:

    .bypostauthor { background: #FFFF00; }

     

  5. Click SAVE AND PUBLISH to save the changes, and author comment will be highlighted in a different color as below:

 
Get Managed WordPress Hosting

Article Details

Other Articles in This Category

Show More

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.