Masonry has only 2 options. Always Display and Display on mouse hover. How can i hide title on hover?
Failed attempt with: div.av-masonry-entry a:hover { color: transparent!important; }
Hey Khanh Hong!
Please edit your element and choose to display only excerpt – http://i.imgur.com/EgBVDCA.png
Best regards,
Yigit
Why do i feel embarrassed?
Anyway i did change the setting but the title still popup on hover with all cache cleared (Cloudflare, WP Super Cache, Browser cache). Same results on FF, Chrome and IE. Do you see the title at your end?
Link: http://www.kimcheang.com/
Hi!
It does show up fine on my end – http://i.imgur.com/z5uUHwB.png
Please flush browser cache more times and try refreshing your page
Best regards,
Yigit
See image attached: http://i.imgur.com/5ht9G0p.png
Hey!
Ok, that titles :)
Please add following code to the functions.php file in Appearance > Editor
function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('a').removeAttr('title');
jQuery('img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_tooltip');
Cheers!
Yigit
Great work Yigit. Thank you!
Since i only want to turn off tooltip for masonry i made some changes:
add_action(‘wp_footer’, ‘remove_masonry_tooltip’);
function remove_masonry_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘.av-masonry-container a, .av-masonry-container img’).removeAttr(‘title’);
});
</script>
<?php
}