-
AuthorPosts
-
February 19, 2021 at 8:42 pm #1282322
Hi, when you hover over a masonry blog post, the title of the image pops up on the tooltip.
Can we turn this off? I looked at other threads and they do not seem to apply anymore. The only solution we could come up with is removing the title from the media library, which seems weird.
Any help would be appreciated, thanks!
February 20, 2021 at 1:15 pm #1282443Hey raisonbrands,
I did not see the tooltips on the home page. Where can we see the issue?
Best regards,
VictoriaFebruary 23, 2021 at 12:23 am #1282937Hi Victoria, Click the “Show More” button, the articles that populate below will have the tool tip.
Our programmer deleted the titles for the first three so wee could show them to the client.
Thanks!
February 24, 2021 at 4:13 pm #1283433Hi raisonbrands,
Have you tried the solution posted here
https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/#post-981936If you need further assistance please let us know.
Best regards,
VictoriaFebruary 24, 2021 at 6:45 pm #1283495Hi Victoria, our designer tried that, he said it removes the title attribute on the link, not the image. Just for clarity, this is what we would like to remove:
http://capblog.raisonbrandsdev.com/wp-content/uploads/2021/02/Tooltip-scaled.jpg
March 2, 2021 at 12:02 pm #1284674Hi,
Sorry for the late reply!
I checked your website and it seems like you have managed to remove titles by using following code in functions.php file
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { function a() { $('.av-masonry-entry').each(function(){ $(this).removeAttr('title'); }); } $(window).on('load', function() { a(); }); })(jQuery); </script> <?php }If you need further assistance, please let us know :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.
