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

Colored user names in a group

Discussion in 'XenForo Questions and Support' started by Trickster, Mar 3, 2011.

  1. Trickster

    Trickster New Member

    Have used Vb forums for a long time, and I liked the mod that allowed each user group to have its own color.
    Generally anyone who was an admin had a red colored name, Super Mods blue etc. It was the persons name that was colored not the user title.
    Obviously you had the ability to determine the color yourself in the admin cp.
    is there anything like this in xenFORO?
    if so, how is it done.
    Many Thanks, a xenFORO newbie!
    Coturo likes this.
  2. Trombones13

    Trombones13 Well-Known Member

    It's in XF by default:
    Admin CP: Users -> List User Groups -> (click usergroup) -> User Name CSS:
  3. Brogan

    Brogan XenForo Moderator Staff Member

    The styling isn't exposed everywhere though.

    The user title and user name styling is present in the following areas:
    Staff Online Now block in the sidebar
    Message user info in posts and conversations
    Conversation Participants block in the sidebar
    Member list
    Current visitors

    In addition, user title styling is present in the following places:
    Dropdown menu under the user name on the navigation bar
    Member card
    Profile page
  4. Don

    Don Member

    Can you give an example of using CSS? I tried the following but didn't see any results.

    <style type="text/css">
    .color- {
        color: #F00;
    <body class="color-">
    Elite Member
  5. Brogan

    Brogan XenForo Moderator Staff Member

    It's done in the usergroup settings, something like this:

  6. James

    James Well-Known Member

    Don, you have to use inline styles or apply a class to your usertitle then add that class to EXTRA.css.
  7. Don

    Don Member

    Thanks, guys. I use CSS just often enough to forget everything I learned the last time. [​IMG]

Share This Page