XF 1.5 User Group Markup (Username CSS)

AyoubM

Member
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
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
 

AyoubM

Member
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?
 

ArtG

Member
Hmm, it doesn't work when I add the .style3:before but it does when I apply it to all user groups. Any thoughts?
 

Brogan

XenForo moderator
Staff member
The display styling priority must be higher than any other user groups the member is in.
 

ArtG

Member
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
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?
 
Top