Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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

    #1310533

    Hey 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:
    2021-07-17_005.jpg
    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,
    Mike

    #1310568

    Hi 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

    #1310575

    sorry wrong posting

    #1310586

    Hi,
    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Toooltip für bestimmte Galerien gezielt abschalten / Deactivate tooltip’ is closed to new replies.