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.

Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.