Site logo

Archived topic

Change comments replied by wordpress admin border color

8 replies · Started by Joyce on September 25, 2020

Viewing posts 1–9 of 9

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

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 ?

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?

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?

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]

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

Thanks Leo.

No problem :)

This archived topic is closed to new replies.