-
AuthorPosts
-
July 14, 2021 at 2:12 pm #1310121
Hallo Team,
bei einigen Galerien ist der Tooltip gewünscht, bei anderen nicht. Mit enfold Bordmitteln läßt sich das leider nicht steuern.
Wie kann ich den Tooltip individuell abschalten (Nur den Tooltip / Beschreibung in der Lightbox ist weiterhin gewünscht) ?
===the tooltip is required for some galleries, not for others. Unfortunately, this cannot be controlled with enfold on-board tools.
How can I switch off the tooltip individually (only the tooltip / description in the lightbox is still required)?thanks solf
July 17, 2021 at 11:20 pm #1310533Hey solf,
Thank you for your patience, can you explain a little further about which tooltips you do not want, the reason is that sometimes people mean the image title mouse-over effect as a tooltip, and this one is created by the browser based on the image title attribute.
It can be hidden with this code in your functions.php:function custom_script() { ?> <script> (function($){ $("*").hover(function(){ $(this).removeAttr("title"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
but this might be a dramatic move if you want the title to show for some elements.
Other times some people mean this tooltip element:
that shows on some galleries.
This can be hidden with this css in your Quick CSS:.avia-tooltip.avia-tt { display: none !important; }
but this might also be a dramatic move if you want the tooltip to show for some galleries, if so you would want to add some page IDs to the rule.
So please try the one you think is right for your situation but if you find it is hiding too many tooltips link to the pages so we can advise how to adjust the code to hide only the ones you want hidden.Best regards,
MikeJuly 18, 2021 at 7:14 am #1310568Hi Mike,
Danke. Die seitenweise Abschaltung über page ID ist eine Lösung. Schöner wäre es natürlich, wenn die Abschaltung der Tool Tips in den enfold Galerie Einstellungen integriert wäre.
===
Thanks. The page-by-page deactivation via page ID is a solution. It would of course be nicer if the deactivation of the tool tips were integrated in the enfold gallery settings./*** Abschaltung tool Tipp für Galerien ****/ .page-id-3769 .avia-tooltip.avia-tt { display: none !important; }
solf
July 18, 2021 at 9:25 am #1310575sorry wrong posting
July 18, 2021 at 12:14 pm #1310586Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Toooltip für bestimmte Galerien gezielt abschalten / Deactivate tooltip’ is closed to new replies.