Easily Highlight Author’s Comments in WordPress without a Plugin

July 8, 2010 by Efraín | 1 Comment

Having a distinctive color for your own comments will help your visitors to scan for your comments more easily. Once again this is very easy to accomplish without using a plugin and only requires you to edit your theme’s css stylesheet file.

Just paste the code below to your theme’s style.css file:

.bypostauthor {
	background: #BFCDE2 !important;
	}

Don’t forget to change the background color to whatever fits your design.

One Response

  1. [...] not sure what’s the purpose for this class since we can use the .bypostathor class too style the authors comments. Either way you’re better hiding [...]

Leave a Reply