By default WordPress already adds user/admin/post author specific CSS to comments with the following three elements.
#byuser
#comment-author-admin
.bypostauthor
So you can just add something like #comment-author-admin {background-color;blue;}
to your stylesheet.
Related Posts:
- R: Comment out block of code
- How to rearrange fields in comment_form()
- Commenting in user profile page?
- How do I delete all comments from a specific old blog post?
- Removing the “Website” Field from Comments and Replies?
- How to load and show comments with AJAX instead of pagination?
- Comments not appearing at all
- A plugin where users can comment with Facebook or Twitter or OpenID [closed]
- Comment Count for each Comment Author
- Show comments from multiple post IDs in comment template
- Hook/Filter before and after comments
- Comment form validation
- Sticky Comments
- Comments number message in password protected post
- Disable Comments Feed
- Use rich text editor in comments?
- I have tried using Plugins to remove 72K comments with no success
- Show only posts which can be commented
- Display commenter’s registration date on comments?
- Remove “Comment” column in all post-types
- How stop the process of submitting a comment if a field is empty?
- Can WordPress store comment cookies on two different computers?
- How to get last comments but not from admin (or other specific user role/capability)?
- Edit Comments Form in TwentyEleven
- How can I automatically delete comments that contain chinese / russian signs?
- How to add enctype to multipart/form-data to comment form?
- Comments view limited to 20 results – any way to increase to 50 or 100?
- Changing position of cancel_comment_reply_link and other elements of comment form
- Send Notifications to All Admins
- Why do comment moderators need to have all create/edit/delete toboth posts and pages?
- Disable comments
- Community Moderation Plugin for Comments [closed]
- Allow contributors to moderate comments comments on posts they write
- How do I really disable comments?
- Why are authors allowed to approve comments on their posts? How to revoke privilege?
- Why is comments_template() working without a comments.php file?
- Reject Comments Based on Author Email
- Turning off trackbacks & comments
- Disqus comments and pingback script – how to change the order?
- Comment Moderation and CDN Caching
- Delete all one-word comments
- Is it possible to embed github gists in wordpress comments?
- Comments feed – Undefined named entity: ndash
- Assign author to comment from post edit page
- The “\” is missing when comments is updated
- Using defer or async JavaScript attributes prevents pingbacks and trackbacks from being sent
- Why do I have to manually approve comments from one of my users who already has an approved comment?
- How to convert WordPress comments to bbPress replies [closed]
- Get declared variable in single.php to work in comments.php without re-declaring it [closed]
- What is causing wp-comments-post.php to redirect to the browser’s IP address?
- comments_number not displaying
- Get comments only for certain specific users in template file
- How to direct user after comment save
- Show comment pop up links as text only
- Insert Ads “into” comments section in Genesis Themework
- WordPress Recent Comments Widget exclude own comments
- Displaying comments on pages distinguished by GET IDs
- How to get comment images stored as serialized comment meta
- Is there a hook to update / replace values in the “Enable threaded (nested) comments x levels deep” drop down?
- Update comment meta for all comments of specific post
- How to permanently delete pages I have already trashed?
- Additional content every x comments
- How to display category name from commenter’s custom post
- How to change comment texts that has a specific comment_ID – Hook into comment
- counting trackbacks, pingbacks and comments of a post
- Adding comments section to website integrated WordPress instance
- How to Define Custom Number of Items in Comment Feed
- What’s the difference with trash_comment and wp_trash_comment?
- How can i change the order of comments?
- Empty comments field or
- infinite loop on page with comments after changing comments.php and header.php
- What templates/funtions needed in custom theme to allow comments the new 3.0 way
- Default Gravatar not showing for pings
- How include comment and post count of user in this custom query
- Refresh individual comment text via API
- How do I refresh “Post Last Modified Time”, as long as comment is updated to Approve status?
- Disallow Comments
- Need to output comment_form() function inside a foreach loop
- Comment field override
-   not working in comments
- Badges for Guests based on their comment counts [closed]
- Allowing comments on author pages
- Comment section not appearing on posts
- How can I see whether a commenter has subscribed to be notified of replies / other comments to a post
- Where is the Leave a Comment link set
- Disable comment moderation in multisite
- URLs to user page is broken
- Comments Template shows, but not the comments
- Auto disable comments with custom field
- I want to fill the comment with the comment count?
- delete user not working
- Force logged in users to provide more data when commenting
- How do I get the comments section to show up?
- By Default, Turn Comments Off for Pages & Leave Comments On for Posts
- How to remove or customize “Comment” in comments form?
- Getting thousands of spam comments
- check if a comment was made by a registered user
- Query comments with non-empty ‘author_url’ value on Admin Comments Screen
- Customize the new comment notifications sent to the post author after the comment is approved
- Get approved comments or comments that the author is me