As WordPress experts, we've helped thousands of site owners customize their comment sections for better user engagement. By default, it's tough for visitors to spot author comments amid discussions. That's why top sites use subtle highlights like background colors or borders. In this proven guide, we'll show you the simplest CSS method to make your author comments stand out—no plugins needed.
Subscribe to WPBeginner for more tips. Prefer reading? Scroll down for detailed steps.
WordPress automatically adds the .bypostauthor class to author comments within the .commentlist element. This makes styling a breeze (check our WordPress CSS Cheat Sheet for more). Simply add custom CSS to your theme's style.css file or via Appearance > Customize > Additional CSS.
For nested comments, target both:
.commentlist .bypostauthor, .commentlist li ul.children li.bypostauthor
Keep it simple—a colored border or background works wonders. For example, Chris Coyier uses a striking top border:

Add this CSS for a similar effect (adjust the hex color to match your site's palette):
.commentlist .bypostauthor {
border-top: 10px solid #e18728;
}
.commentlist li ul.children li.bypostauthor {
border-top: 10px solid #e18728;
}Another pro tip from Matt Cutts' site: a light background for authors while others stay white.

Try this:
.commentlist .bypostauthor {
background: #e7f8fb;
}
.commentlist li ul.children li.bypostauthor {
background: #e7f8fb;
}Pro advice: Always test on a staging site and match colors to your theme for seamless branding
. Get creative with images or shadows too.
This quick tweak boosts credibility and engagement. Questions? Drop them in the comments—we're here to help.