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

Changing the username color int he avatar holder.

#1
I did some color changes to the usergroups and got them changed everywhere except in the avatar holder. Where or what can I add to change them in there.
 

Tracy Perry

Well-known member
#5
I did some color changes to the usergroups and got them changed everywhere except in the avatar holder. Where or what can I add to change them in there.
If you are talking about this one example.png

then the code that applies in EXTRA.css should be
Code:
.sidebar .visitorPanel .username {
text-shadow: 1px 2px 2px black ;
color:green;
}
Just put whatever color, etc codes you want there.
 
#6
It was in the sidebar and I wanted it to go with the specfic color of the member group.

@brogan I read all that and that did the styling that way, changed everywhere except in there.
 

Tracy Perry

Well-known member
#7
It was in the sidebar and I wanted it to go with the specfic color of the member group.

@brogan I read all that and that did the styling that way, changed everywhere except in there.
It works on most other places because in the templates it appears to have
Code:
<xen:username user="$user" itemprop="name" rich="true" />
or something similiar in it but for the sidebar_visitor_panel it doesn't. Will probably require a template edit. I'll play with it and see if I can figure out what (but mine will be trial and error - hopefully Brogan, Jake or someone more familiar with it will chime in).
 

Brogan

XenForo moderator
Staff member
#8
Ah, I didn't realise you meant the visitor panel in the sidebar.

I'm not sure how to get that to work as it's a phrase and helper rather than xen:username.

I tried a few things but no joy unfortunately.
 

gmaister22

Active member
#9
It works on most other places because in the templates it appears to have
Code:
<xen:username user="$user" itemprop="name" rich="true" />
or something similiar in it but for the sidebar_visitor_panel it doesn't. Will probably require a template edit. I'll play with it and see if I can figure out what (but mine will be trial and error - hopefully Brogan, Jake or someone more familiar with it will chime in).
Any luck Tracy? I'm also looking for a template edit for sidebar_visitor_panel so that it can apply each member's group styling
 

Tracy Perry

Well-known member
#11
Any luck Tracy? I'm also looking for a template edit for sidebar_visitor_panel so that it can apply each member's group styling
No luck so far... and I don't think it's going to be possible using the default calls. If anyone was most likely to know, it would have been Brogan, as he is way more familiar with XF than I am. I will continue my attempts.