Autor comment highlight in WordPress 2.8+

Posted in Wordpress by Alex | Tags: author comment styling, comment highlight
WP Greet Box icon
Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic.

Author comment highlighting was never been easyer. I tryed Matt`s technique but it didn’t work because I didn’t find the in my comments.php, so I looked for another way of changing the background color of my author comments in WordPress 2.8.4

comment-highlight

You see, as from WordPress 2.7 the developers introduced a special author comment list class that is available only to the author comments. So this means that we will have to set up a css color tag on that class just like in Matt`s example.

So head on and open up your style.css and paste this code:

.bypostauthor {
background-color: #dafbd4 !important;
}

You may be interested in these also:

  • No Related Post

4 Comments to “Autor comment highlight in WordPress 2.8+”

  • And voila! Instant author comment love

  • NIce trick that works so easily. Many thanks! =D
    PzheL´s last blog ..The NS Song of Life My ComLuv Profile

  • Thank you! Thank you!!
    I spent 2 hours trying to do this with tutorials for the old wordpress and as you said couldn’t find that line in comments.php .. And finally I got to your site and found the way to do it. Thank you again!! :)

  • hello…first of all thank you for this trick…just have a little “problem”…my comment turns “green” or any colour i set it, only when someone comments after me…have any ideea why? Thanks!

Post comment

CommentLuv Enabled