Changing username colors


Is there currently any way to change the colors of usernames based on groups?
For example, I want to make the usernames of Admins show up red when they post, and moderators purple when they post?

(Vinoth Kannan) #2

Yes you can do via CSS like below. But if you prioritized names in Discourse then only names will be colored. Also group must be chosen as “Primary Group” for that user.

.topic-post .admin a {
color: red;

.topic-post .moderator a {
color: purple;


Thank you very much! Not sure if you could help me with this as well, but I’m also using the Babble shoutbox plugin, is there any way to change the colors of users names based off groups in there as well?

(Vinoth Kannan) #4

I never tried that plugin before. You should ask it on their support topic.