Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1185947

    I am using an Icon Grid on my website.
    Each item links to a page.
    Now I want to suppress the tooltip for each item but don´t see how to do this.
    Thank you in advance for your help.

    #1186386

    Hey rainerknappeham,
    Thank you for the link, to remove the title on hover Try adding this code to the end of your functions.php file in Appearance > Editor:

    function remove_title_on_hover(){
      ?>
      <script>
    (function($){
    $("*").hover(function(){
    $(this).removeAttr("title");
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_title_on_hover');

    Typically we would recommend adding this to your child theme functions.php so you will not lose it after the next update, but it looks like you are not using a child theme. Another option is to add this function as a plugin, which you can download here.

    Best regards,
    Mike

    #1186396

    Dear Mike,

    thank you very much. The plugin did the job very well.
    Next time I will use a child theme – thanks for the hint!

    #1186507

    Hi rainerknappeham,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1193432

    Dear Mike and all,

    I need to come back to this.
    The plugin supressed the tooltips globaly but now I need it at a different page (hotspots on a worldmap).
    Is there a way to supress the tooltips only in the gridrow?

    Thank you in adavance

    Rainer

    #1193458

    Hi,
    This function will remove the titles only on the home page for the icongrid flip boxes.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function remove_icongrid_title_on_hover(){
      ?>
      <script>
    (function($){
    $("#top.home .avia-icon-grid-container a.avia-icongrid-wrapper").hover(function(){
    $(this).removeAttr("title");
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_icongrid_title_on_hover');

    After applying the function, Please clear your browser cache and check.

    Best regards,
    Mike

    #1193467

    Hi Mike,

    thank you so much!
    I modified your custum plugin with the new code and it works well.
    Topic can be closed.

    Kriesi-Team is really great!

    best regards,

    Rainer

    #1193627

    Hi rainerknappeham,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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