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

How do I set my username on the home page, to usergroup color

shadrxninga

Well-known member
#2
Edit the template called 'sidebar_visitor_panel' and replace:
HTML:
<h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>
with:
HTML:
<h2 class="username">{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper richusername, $visitor}'}</h2>
There's a helper called richusername which gives you the styled username - you need to add the class "username" to the element you have it inside for it work (as it uses css selectors)