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

XF 1.5 Tooltip over image

#1
Hey!

So, I am currently wondering if I can add a tooltip when you hover over an image:

(when you hover over the shield)

This is my User Name CSS:
Code:
color: orange;
background: transparent url('/badges/Admin.png') no-repeat;
padding-left: 20px;
When you hover over it I want it to say what I put, so for example this would say 'Administrator'
 

Brogan

XenForo moderator
Staff member
#3
You can't add a tooltip using CSS - you would have to edit the (HTML) template and add it there.

Search the templates for 'tooltip' to see how it's done.