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

XF 1.2 Change Username Style

Discussion in 'Styling and Customization Questions' started by Vitaly, Oct 29, 2013.

  1. Vitaly

    Vitaly Member

    How do you change the username style? Like how Xenforo, has the Name, then the Staff Ribbon.
    I want the Staff Ribbon then the Name.
    And how do I change the color of the name for a certain user group?
    Thanks.

    I tried in inspecting the element, then making the change in another style template, but an error kept coming up.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Changing the color is simply setting the user group styling after editing the group.
     
  3. Vitaly

    Vitaly Member

    Sorry, I don't quite understand.
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Edit any user group in the ACP and you'll see an option for User Name CSS. Define it there.
     
    Vitaly likes this.
  5. Vitaly

    Vitaly Member

    Awesome, thanks.
    For the Ribbon above the username placement, where do I go to do that?
     
  6. mistypants

    mistypants Well-Known Member

    In the message_user_info template, move this code:
    Code:
    {xen:helper userBanner, $user, 'wrapped'}
    Above:
    Code:
    <xen:username user="$user" itemprop="name" rich="true" />
     
    Vitaly and Amaury like this.

Share This Page