XF 1.2 How Can I Change The Username 'Hover' Colour?

UKD

Active member
All usernames are currently set to red and I can't for the life of me figure out the setting for changing it to a more suitable colour for my forum theme.

Here is the name without moving the mouse cursor over the name:


Here is the name when I hover my mouse cursor over it:


Can anyone help me out? Thanks.
 

UKD

Active member
Code:
.messageUserBlock a.username:hover { color: #000 !important; }
Change #000 to whatever you'd like.
Thank you very much, it worked! :D.

I was about to ask how to differentiate between regular members and custom colours for staff however the code only appears to be working on the standard members, which is exactly what I wanted :D. I'm not sure I understand why it isn't working on staff/other usergroups however I am happy with the outcome. thanks very much! :).
 

mistypants

Well-known member
Thank you very much, it worked! :D.

I was about to ask how to differentiate between regular members and custom colours for staff however the code only appears to be working on the standard members, which is exactly what I wanted :D. I'm not sure I understand why it isn't working on staff/other usergroups however I am happy with the outcome. thanks very much! :).
Usergroups (so therefore, staff members) have a unique class, often one that specifies their color, which overrides the default username link styling. But no problem.
 
Top