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

XF 1.2 Change direction of tooltip

Steve F

Well-known member
#1
So I added the Tooltip class to the quick nav on hover, it works but I want it to display in the opposite direction. Tried various things but nothing seems to work...

tooltip.png
 

Steve F

Well-known member
#4
Revisiting this with another question, maybe @Syndol can help/explain it.

If I'm adding a Tooltip class to an element, say a small button should I have to be adjusting it with data-offsetx & data-offsety?

I would think it would kind of fall in to place as I do not see data-offset being used elsewhere for the Tooltip class.
 

Steve F

Well-known member
#6
Yea think your right. After playing around more, I ended up wrapping my <a href=""> stuff in a <div> and that at least got it close to correct.