Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘hide tool tips’ is closed to new replies.
Tagged: tool tips
Hi,
I added this code:
jQuery(document).ready(function($){
jQuery(‘img’).removeAttr(‘title’);
});
to the bottom of my js/avia.js file, but am still seeing the tool tips on my site:
I have emptied the cache and all that.
Can you help me with this? thanks
Nancy
Hey Munford!
Please remove the code from Avia.js file and following to 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');
Regards,
Yigit
ok – thanks!
I added it to my child theme and it works fine.