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

Change username colour on the discussion list

Lost

Well-known member
#1
I've been trying to change the colour of the usernames on the discussion list but I can't seem to find the correct style property. Can anyone help me?
 

Brogan

XenForo moderator
Staff member
#4
Just to add, if you want to change the last poster user name colour you can add something like this to EXTRA.css:
Code:
.discussionListItem .lastPostInfo a.username {
color: orange;
}
 

Lost

Well-known member
#5
Awesome! Is there something I can add to EXTRA.css to change just the colour of the thread starter in the discussions list?
 

Lost

Well-known member
#7
I only just migrated my forum the other day, so I haven't noticed it yet but I'll keep an eye out. Thanks.
 

Shelley

Well-known member
#8
FYI, it appears that mods and admins see a lighter color when members have chosen privacy?
correct. but your able to style this to your choosing I opted the same colour usergroup route but lowered opacity adding the following to the extra.css template.

invisible-user.png
Code:
.sidebar .invisible {
opacity: 0.3;
}
Edit: Bare in mind for usergroups colours to be pulled in the sidebar member user online block you'll have to make a template edit in sidebar_online_users Template.

Search:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>

Replace with:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>