Support Forum

Usergroup Custom Colors

23 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

OK – try this:

Go to the forum admin > themes > custom CSS

and paste in the following:

#spMainContainer .spTopicPostSection.spType-Admin .spUserSection .spProfilePopupLink { color: red; }
#spMainContainer .spTopicPostSection.spUsergroup-Sponsors .spUserSection .spProfilePopupLink { color: blue; }

That is aimed to work on the topics (posts) on the left where the user name is. Let;s see if it does.

Beware – there are spaces between some of the elements but not all. Best copy and paste it (use the ‘raw’ button)

DS donald salter
donald salter
Member

I was able to achieve this with admin but sponsors not changing.

IK Ike
Ike
Member

Is your ‘Sponsors’ user group definitely spelled correctly and capitalised? We know the CSS for admin will work as it’s universal, whereas the CSS for usergroups is going to depend entirely on what your usergroup is called.

If it’s called ‘Sponsors’ then the code above should in theory work, so to go further we will need to see a post from a user in the Sponsor usergroup.

If it’s actually called ‘sponsors’ without the capital S or something like ‘sponsors-group’, then replace that part of the code i.e .spUsergroup-Sponsors would become .spUsergroup-sponsors or .spUsergroup-sponsors-group.

DS donald salter
donald salter
Member

This is a post from sponsor http://yotamafia.com/forum/relentless-fabrication/who-is-relentless-fabrication/

This is coding I am using in custom css

#spMainContainer .spTopicPostSection.spType-Moderator .spUserSection .spProfilePopupLink { color: red; }
#spMainContainer .spTopicPostSection.spUsergroup-Sponsor .spUserSection .spProfilePopupLink { color: blue; }

IK Ike
Ike
Member

OK try this:

#spMainContainer .spTopicPostSection.spUsergroup-sponsor .spUserSection .spProfilePopupLink { 
    color: blue; 
}