Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #272410

    Hi,
    Is that possible to modify tooltip arrow to the left side and have some kind of horizontal tooltip?

    Thanks
    M

    #272622

    Hi!

    Can you post a link to the page where you want to make this mod?

    Best regards,
    Josue

    #272937

    No the website is not done already. I’m just planning to add a vertical menu for one-page style just like here: http://www.visage.co/#platform

    #273419

    Hey!

    You’d need to seek for a third-party tooltip solution, like:
    https://wordpress.org/plugins/simple-tooltips/

    That’s because the Enfold tooltip function is meant to be used only in elements that have tooltip functionality (like galleries, etc).

    Best regards,
    Josue

    #1018617

    Hello
    I have a similar question and have been searching the forums without luck. On a gallery tooltip, the arrow is the centre of the tooltip. How can I move that to one end and the tooltip over so left edge of tooltip is aligned iwth left edge of thumbnail. Please see screenshot in below section.

    I can change the tooltip size with
    .avia-tooltip { width: 280px }
    but can’t move its location.

    Also, how to modify this if I need to, to only affect one or two pages instead of all.

    Thanks

    • This reply was modified 5 years, 8 months ago by s29ers.
    #1019323

    Hi,

    That is possible. However, you need to modify one of the shortcode files in the config-templabuilder > aviashortcodes > gallery > gallery.php file. Look for this code around line 321:

    $tooltip = $caption ? "data-avia-tooltip='".$caption."'" : "";
    

    Replace it with:

    $tooltip = $caption ? "data-avia-tooltip-alignment='left' data-avia-tooltip-class='av-tt-default-width av-tt-pos-above av-tt-align-left  av-mobile-fallback-active av-tt-hotspot' data-avia-tooltip='".$caption."'" : "";
    

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.