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

2 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

Post comment

CommentLuv Enabled