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

XF 1.3 Applying a name color based on a higher rank

Discussion in 'Styling and Customization Questions' started by chickenputty, Jun 13, 2014.

  1. chickenputty

    chickenputty Member

    I have two groups assigned to a member, but cannot display the correct user color on the member.

    Rank 1:

    Rank 2:

    Rank 1 has a blue styling to the user's name and Rank 2 has a pink styling to the user's name. However, even though Rank 2 has a higher display styling their name is blue, not pink.


    I am wanting the user's name to be pink.

    If needed, here are my settings for User Banners:

    Am I doing something wrong or misunderstanding what Xenforo can do?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. chickenputty

    chickenputty Member

    The user banner text field appears to handle changing the text color. I should probably change it over to a custom CSS class though.

    Although, my question was about the user name CSS color styling, not banner text.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Ensure the member is in both user groups.
    It works as I use it on my forum but be aware that rich username markup is not applied everywhere by default.
  5. chickenputty

    chickenputty Member

    The user is in the default group "Member" along with the two secondary groups, "Creative Manager" and "PvP Survival Moderator." (http://i.imgur.com/NpCOsDq.png)
    The "Creative Manager" has a priority of 0 and "PvP Survival Moderator" has a priority of 500.
    The "Creative Manager" has a user name css color of "#48C7EA" (blue) and "PvP Survival Moderator" has a user name css color of "#F900F9" (pink).

    "Creative Manager" rank picture: http://i.imgur.com/otpqRFK.png
    "PvP Survival Moderator" rank picture: http://i.imgur.com/Uy4Ubmf.png (Changed the user banner text to css too)

    When viewing the user's profile, posts, and anywhere else their name is appearing blue. - http://www.mcbrawl.com/members/7938/
    I switched to the Xenforo default theme and it is also doing the same.

    I am wanting the name to appear #F900F9" (pink), as the style is higher.

Share This Page