• 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

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


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:
<div class="usernameHeader">
    <xen:username user="$user" itemprop="name" rich="true" />