• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Colored user names in a group

#1
Have used Vb forums for a long time, and I liked the mod that allowed each user group to have its own color.
Generally anyone who was an admin had a red colored name, Super Mods blue etc. It was the persons name that was colored not the user title.
Obviously you had the ability to determine the color yourself in the admin cp.
is there anything like this in xenFORO?
if so, how is it done.
Many Thanks, a xenFORO newbie!
 

Brogan

XenForo moderator
Staff member
#3
The styling isn't exposed everywhere though.

The user title and user name styling is present in the following areas:
Staff Online Now block in the sidebar
Message user info in posts and conversations
Conversation Participants block in the sidebar
Member list
Current visitors

In addition, user title styling is present in the following places:
Dropdown menu under the user name on the navigation bar
Member card
Profile page
 
#4
Can you give an example of using CSS? I tried the following but didn't see any results.

Code:
<style type="text/css">
.color- {
    color: #F00;
}
</style>

<body class="color-">
Elite Member
</body>
 

James

Well-known member
#6
Can you give an example of using CSS? I tried the following but didn't see any results.

Code:
<style type="text/css">
.color- {
    color: #F00;
}
</style>

<body class="color-">
Elite Member
</body>
Don, you have to use inline styles or apply a class to your usertitle then add that class to EXTRA.css.