Support Forum

Font color administrators and users

AL Aitor Ruiz Lorenzo
Aitor Ruiz Lorenzo
Member

Hello again, I wonder if there is any way to force the administrators or moderators write in default color and normal users in another color. I don´t know if there is any function that can achieve this goal. Thanks in advance.

1 Answer

New Answer

IK Ike
Ike
Member

Sure you can actually do this with some simple CSS.

For example the Admin class will be used in the topic post section specific to their post, so when you inspect a post made by an Admin or Mod or whoever, you should see in the code, looking at spTopicPostSection:

     class=”spTopicPostSection spEven spType-Admin spRank-admin

You can then create new entry in your theme such as:

     #spMainContainer .spRank-admin .spPostContent p {
         font-weight: bold;
         background: red;
     }

As an example, will make an Admin’s text in a post appear with a bold text on a red background.

You can do this for any Group as long as you know what rule to include (in this case .spRank-admin) in the CSS