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

User Colours Per Theme

Drae

Active member
#1
I'm guessing this can be done per the CSS for each theme/skin, but want to ask first because my members love their colourings XD I know we can add coding to the member group looks, but can we do it per theme/skin?
 

Jake Bunce

XenForo moderator
Staff member
#3
It's pretty simple.

First specify a markup for the group:

Admin CP -> Users -> List User Groups -> [click a group] -> User Name CSS

Even though you are specifying colors per style, you still must specify a "default" color in the group itself to "turn on" the markup. For example:

Code:
color: red;
Now you can override this color by adding CSS to your styles:

Admin CP -> Appearance -> Templates -> EXTRA.css

Add this code to override the color (or any other CSS attribute) for a specific group:

Code:
.username .style3
{
	color: green;
}
3 is the user_group_id.