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

XF 1.4 How can I do that?

Discussion in 'Styling and Customization Questions' started by Dylan V, Jan 18, 2015.

  1. Dylan V

    Dylan V Well-Known Member

    Hello,

    I would like to know how would be possible to display this:

    Screenshot_1.png

    with the color of the user's group?

    Example if the color for the administration is in red, I would like that when an administrator answers, the color of the element is the same color that the appropriate user group.

    I use the class:
    Code:
    <div class="usernameHeader">
        <xen:username user="$user" itemprop="name" rich="true" />
    </div>
    Thanks.
     

Share This Page