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

XF 1.3 Tooltip Question

JABRONI

Well-known member
#1
I've made it so there is a text-ellipsis if any of the <dd> elements in the message_user_info would use two lines instead of one, but I would also like to add a tooltip to the <dd> elements (most if not all are just custom user fields) so people can hover & see the entire thing.

ss (2014-07-08 at 02.30.37).png

I have no idea how to get this effect. Can anyone guide me in the right direction here?
 

Brogan

XenForo moderator
Staff member
#2
A tooltip is typically added like so:
Code:
<a href="url" class="Tooltip" title="title">Text</a>
It requires using the "Tooltip" class.