-
AuthorPosts
-
February 19, 2020 at 9:44 am #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.February 20, 2020 at 3:03 pm #1186386Hey 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,
MikeFebruary 20, 2020 at 3:34 pm #1186396Dear Mike,
thank you very much. The plugin did the job very well.
Next time I will use a child theme – thanks for the hint!February 20, 2020 at 7:47 pm #1186507Hi rainerknappeham,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaMarch 16, 2020 at 11:10 am #1193432Dear 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
March 16, 2020 at 12:30 pm #1193458Hi,
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,
MikeMarch 16, 2020 at 12:51 pm #1193467Hi 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
March 16, 2020 at 8:54 pm #1193627Hi rainerknappeham,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
