Highlight & style Post Author comments in WordPressUpdated On May 23, 2015 October 29, 2012 -Written By
WordPress has feature rich in-built commenting system. By default, it allow website visitors to comment on various posts and pages content. As a post author you can reply to any comment by adding own comments. In a post with lots of comments, your comment might get lost. One easy way to make your comments stand out is to highlight post author comments.
CSS code for highlighting Post Author comments
Add following code to your style.css file. It adds background color #ddd to post article author Comments. It also adds padding for more prominent highlighting of post author comments.
You can also add more style elements to .bypostauthor class like: background image, margin, border, etc to give distinct style to comments added by post’s author. Remember to clear cache to see changes made by above code.
Leave a Comment