Hi, I previously had the tooltips hidden by some code I found on this forum (i.e. adding to custom css and to avia.js) but after updating enfold it doesn’t seem to work any more, even though I added the same code to the same file. How can I get this to work again? Thx
Hi michaelearl!
Please use following code in 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');
Best regards,
Yigit
thank you