[Resolved] Change comments replied by wordpress admin border color

Home Forums Support [Resolved] Change comments replied by wordpress admin border color

Home Forums Support Change comments replied by wordpress admin border color

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1458090
    Joyce

    Hi Team,

    How can I change comments replied by wordpress admin border color only. When I add the following css, it also changes the anonymous comments border as well.

    .comment-content {
    padding: 5px;
    border: 5px solid #A00808;
    }

    Thanks,
    Joyce

    #1458120
    Joyce

    This is the effect I am looking for, thanks. https://prntscr.com/unlgug

    #1458210
    David
    Staff
    Customer Support

    Hi there,

    i am not sure if we can determine a comment by the role of the user, we can target the post author separately to the a user though. Can you share a link to a post where i can see use and Admin comments ?

    #1459254
    Joyce

    Thanks David. I manage to add css to fix it

    .bypostauthor {
    border: 5px solid #A00808;
    }

    I can see the admin comments class is different like <li id=”comment-3″ class=”comment byuser comment-author-wp-user-login-id bypostauthor odd alt depth-2″>
    1) is there a way to hide the admin login id
    2) is that possible to move the comments meta info into the box, like https://prntscr.com/uo1lx5 and reduce the padding?

    #1460077
    Leo
    Staff
    Customer Support

    1) The comment system is handled by WordPress so you will need to check with WordPress support for specific questions like this.

    2) Is that for admin only?

    #1460399
    Joyce

    Thanks Leo.
    1) The comment system is handled by WordPress so you will need to check with WordPress support for specific questions like this.
    [thanks, I will check]
    2) Is that for admin only?
    [It’s for all users]

    #1460433
    Leo
    Staff
    Customer Support

    2) Sorry moving the comment meta would require some custom coding as well so best to check with WordPress support.

    #1460436
    Joyce

    Thanks Leo.

    #1460438
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.