Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #425107
    Anonymous

    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

    #425302

    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

    #425347
    Anonymous

    thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Tooltips – getting rid of them’ is closed to new replies.