WordPress.org

Forums

Simple Tooltips
[resolved] Vertical position (6 posts)

  1. cob-web
    Member
    Posted 1 year ago #

    I was wondering, if there is an easy way to change the vertical position of the tooltip?
    I use images as trigger and I need to place the tooltip above the image rather than in the center of it.

    http://wordpress.org/plugins/simple-tooltips/

  2. ClevelandWebDeveloper
    Member
    Plugin Author

    Posted 1 year ago #

    Try adding the "tooltips" class and title attribute to the "img" tag, as opposed to the "a" tag.

    For example, instead of:

    <a href="yourlink.html" class="tooltips" title="this is the tooltip message"><img src="yourimage.jpg"></a>

    Your html should be:

    <a href="yourlink.html"><img src="yourimage.jpg" class="tooltips" title="this is the tooltip message"></a>

  3. cob-web
    Member
    Posted 1 year ago #

    Brilliant - that did the trick! :)
    Thanks a lot!

  4. Renee111
    Member
    Posted 1 year ago #

    Hi, I have the same issue but i am using this plugin for tooltips in the menu so cant modify my html. I am using icons instead of text in the menu and the tooltip is centering - so the icons are not clickable.

    Would be great if you could help :)

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    @Renee111: If you require assistance then, as per the Forum Welcome, please post your own topic.

  6. Renee111
    Member
    Posted 1 year ago #

    oops sorry, will do

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Tooltips
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic