Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #586291

    I think this might be a duplicate post but I have tried code from multiple topics with no success. I would like to remove the captions that pop up on hover.

    #586984

    Hi staceylane!

    Thank you for using Enfold.

    Please add this in the functions.php file:

    // remove tooltip
    add_action('wp_footer', 'ava_remove_tooltip');
    function ava_remove_tooltip(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('#top #wrap_all .avia-gallery .avia-gallery-thumb a img').each(function() {
    		$(this).removeAttr('data-avia-tooltip');
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.