If you are running a popular blog you will see lots of comments on your post everyday. some of them are really useful and some of are spammy. no matter what if you have many comments on post you probably looking for the mark or highlighted author comments. highlighted comment will get more impression to visitor and understanding author behavior, this will encourage new visitor to post more comments. this will help you engage more visitor posting comments and asking more thing via comment fields.

 

highlighted author comments

How to highlighted  post author comments?

Most of the theme not aware of making this things useful, they don’t provide this feature, so you might be looking for the solution by 3rd party plugins. please if you can edit CSS you will be able to to easily. you don’t need to use any plugins. The comment which is posted by post author will have the class ¬†bypostauthor ¬† so you can take advantage of this class to making your own styling for comment.

Here is the sample CSS for you.

.commentlist .bypostauthor {
  padding-left: 20px;
  border-left: 3px solid #ff8106;
  background: #ff810633;
  padding: 6px 10px;
}
.commentlist li ul.children li.bypostauthor {}

 

you need to add this CSS to your theme style.css file to work with your theme. you can go following menu to access editing style.css file

Appearance > Editor > by default it will load current theme style.css file

Here is the screenshot of editing default WordPress theme “Twenty Sixteen”

edit theme style file

 

I hope this will help you make your comment section even better from current styling. if the above css selector isn’t working for your theme please inspect for exact css class.