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

XF 1.5 User Group Markup (Username CSS)

#1
So for a specific usergroup I want to add text infront of the group members names

Example:
[text]Username

So far I can only add an image infront of the name, but no text, any idea how I can do this?

Thanks!
 

Sheldon

Well-known member
#8
Yes, I know.

How can I set it in the user group settings?

Like where do I call style1 in the user group settings?

You can't set it in usergroup settings, not using the :before selector... or at least not that I am aware of, I could be wrong. You have to add exactly what he posted in EXTRA.css
 
#9
You can't set it in usergroup settings, not using the :before selector... or at least not that I am aware of, I could be wrong. You have to add exactly what he posted in EXTRA.css
If I add just that in EXTRA.css, how the bloody hell will I get it to draw for my usergroup?
 
#16
OK Here's what I have:

User Group 12 has a priority of 1001 (highest).

I enter this in Extra.css:

.username: .style12:before
{
content: "Master ";
}

The word master doesn't appear before the username.
 

James

Well-known member
#17
OK Here's what I have:

User Group 12 has a priority of 1001 (highest).

I enter this in Extra.css:

.username: .style12:before
{
content: "Master ";
}

The word master doesn't appear before the username.
Why have you got a colon after username?