Support Forum

Usergroup Custom Colors

DS donald salter
donald salter
Member

I have searched but cannot find anything so pardon this if it has been answered. I need to change the color of certain usergroups on my forum i.e. sponsors, admins, etc.

How do I accomplish this?

23 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

But where, exactly, do you want any colouration to take place?

DS donald salter
donald salter
Member

I would like admin names to appear red in the member list as well as their name to be red in topic posts and replies.

Same with sponsors but in another color such as blue 

IK Ike
Ike
Member

You’re going to have to bear with me here as I don’t currently have access to my local test environment so although I know it’s possible, right now the CSS is guess work!

Firstly, could you go to your dashboard and navigate to Forum > Themes > Custom CSS..  Please add the following CSS:

#spMainContainer .spTopicPostSection .spType-Admin .spProfilePopupLink {
    color: #FF0000;
}

#spMainContainer .spMemberGroupsSection .spUsergroup-admins .spProfilePopupLink {
    color: #FF0000;
}

And let us know how it goes? We may need to adjust a couple of the classes used there.

Also in order to give ‘Sponsors’ a colour we would need to see the members list group and also a post from a sponsor to know what class to target.

DS donald salter
donald salter
Member

I tried to use your suggestion for the default moderator group. This is what I used below with no luck.

#spMainContainer .spTopicPostSection .spType-Moderators .spProfilePopupLink {
color: #FF0000;
}
#spMainContainer .spMemberGroupsSection .spUsergroup-moderators .spProfilePopupLink {
color: #FF0000;
}

IK Ike
Ike
Member

Afraid I will have to hand this one over to Andy or Steve. As I said currently have no test environment so can’t try it out locally, but it is definitely possible.

DS donald salter
donald salter
Member

Thanks Ike. This is the forum like FYI http://yotamafia.com/forum/

YS Yellow Swordfish
Yellow Swordfish
Member

Just check in forum admin > options that you are not using the CSS compressed cache. If you are – turn it off until you are happy with any changes.
Also – depending on what browser you are using you will probably need to clear the web cache between tests. Chrome and IE/Edge both cache things far longer than many other browsers.
So try those things first and then come back and let us know the outcome.
i will be off-line for a short spell but will be back in a little while to pick this up

YS Yellow Swordfish
Yellow Swordfish
Member

Yes indeed. Global settings over on the right. Apologies for not being more specific.

DS donald salter
donald salter
Member

Neither one is checked.

CSS/JS Combined Caching
 
YS Yellow Swordfish
Yellow Swordfish
Member

I should have asked an additional question – which is how are these users identified? I can certainly differentiate on admins and users and guests but I can also differentiate other user group membership or on special ranks… ?

DS donald salter
donald salter
Member

I just need:

Admins colored RED

Sponsors colored BLUE

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – but what ARE ‘Sponsors’? Is this the name of a forum user group? A forum rank?