Title: bypostauthor (comments) problem?
Last modified: April 1, 2020

---

# bypostauthor (comments) problem?

 *  [devrekli](https://wordpress.org/support/users/devrekli/)
 * (@devrekli)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bypostauthor-comments-problem/)
 * Hello. I wanted to make the background of the “admin” comments different color..
   I tried this code for this:
 *     ```
       .commentlist .bypostauthor {background: #e7f8fb;}
       .commentlist li ul.children li.bypostauthor {background: #e7f8fb;}
       ```
   
 * This code works, but there is a problem. If the guest responded to admin, the
   background color is different.
 * screenshot: [https://i.imgur.com/v0gTM9z.jpg](https://i.imgur.com/v0gTM9z.jpg)
 * How can I fix this? It should only be admin. thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bypostauthor-comments-problem/#post-12612484)
 * Please identify exactly which theme you are using and then post in that theme’s
   dedicated forum so the theme’s developers and support community can help you 
   with this.
 *  Thread Starter [devrekli](https://wordpress.org/support/users/devrekli/)
 * (@devrekli)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bypostauthor-comments-problem/#post-12612660)
 * [@t-p](https://wordpress.org/support/users/t-p/)
 * This is not possible. This theme is free. WordPress forum can help me maybe.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bypostauthor-comments-problem/#post-12612727)
 * What is the exact name of the theme?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘bypostauthor (comments) problem?’ is closed to new replies.

## Tags

 * [.bypostauthor](https://wordpress.org/support/topic-tag/bypostauthor/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/bypostauthor-comments-problem/#post-12612727)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
