• Resolved Sandra-66

    (@sandra-66)


    Hello Alex,

    I would like to know if it is possible to change the color of the comments (of the font or of the background) when I, as admin, reply to a comment posted by a follower.

    Thanks for your help.
    Sadnra

Viewing 3 replies - 1 through 3 (of 3 total)
  • There are a couple of CSS classes that you could target. Comments by the post author have the class .bypostauthor, and you could also target .comment-author-XXX, where XXX is the user name you use to log into WordPress.

    Thread Starter Sandra-66

    (@sandra-66)

    Hello,

    Thanks for your reply. Could you indicate me where I should I modify this ?

    Theme Author alex27

    (@alex27)

    This will change the background and font color of post author comment:
    .bypostauthor { background: #cccccc; color: #ff0000; }
    These colors won’t be pretty, so you need to change those of course.
    Add above code to your child theme or CSS Manager plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the color of the admin comments’ is closed to new replies.