XF 1.4 How can I do that?

Dylan V

Well-known member
Hello,

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

Screenshot_1.webp

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.
 
Top Bottom