1. 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

Discussion in 'Styling and Customization Questions' started by Steve F, Jul 31, 2013.

  1. Steve F

    Steve F Well-Known Member

    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...

  2. Syndol

    Syndol Guest

    <span class="Tooltip" title="Your Title" data-tipclass="flipped">
    Steve F likes this.
  3. Steve F

    Steve F Well-Known Member

    Ugh.. I was close at least!

    Thanks @Syndol
    Syndol likes this.
  4. Steve F

    Steve F Well-Known Member

    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.
  5. Syndol

    Syndol Guest

    I believe it is centred according to the width of the element it sits in.
    Steve F likes this.
  6. Steve F

    Steve F Well-Known Member

    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.

Share This Page