Tagged: tooltip
Hi,
Is that possible to modify tooltip arrow to the left side and have some kind of horizontal tooltip?
Thanks
M
Hi!
Can you post a link to the page where you want to make this mod?
Best regards,
Josue
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
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
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
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