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

Discussion in 'Styling and Customization Questions' started by JABRONI, Jul 8, 2014.


    JABRONI Well-Known Member

    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?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    A tooltip is typically added like so:
    <a href="url" class="Tooltip" title="title">Text</a>
    It requires using the "Tooltip" class.
    JABRONI likes this.

    JABRONI Well-Known Member

    It's incredible that it's that easy. Thanks for the help!

Share This Page