• 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?

Dylan V

Well-known member
#1
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.