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

Discussion in 'Styling and Customization Questions' started by Rommel, Aug 22, 2016.

  1. Rommel

    Rommel Member


    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:
    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'
  2. Rommel

    Rommel Member

    Bump - does anyone have any suggestions?
  3. Brogan

    Brogan XenForo Moderator Staff Member

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

    Rommel Member

    What HTML template do I edit and what would I add o.o
  5. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page