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

XF 1.4 Hover State on Usernames in Threads

Amaury

Well-known member
#1
If you hover over the username Test Account here, you'll see that the hover state is still active if you move your cursor off the username and a bit to the left or right.

How can I make it so the hover state is only activated when hovering over the username and nothing nearby?

Thanks!
 

Dylan V

Well-known member
#2
Hello,

The user name is in "display: block", so what is nearby, is clickable.

Go to your style, "Style Properties" and in "Message Elements", remove:

Screenshot_3.png
 

Amaury

Well-known member
#3
That works, but it removes the centering I have for usernames and makes them left-aligned.
 
Last edited: