Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1071739

    Hi,

    I try to add this code:

    function remove_title_attr(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(‘#wrap_all a’).removeAttr(‘title’);
    jQuery(‘#wrap_all img’).removeAttr(‘title’);
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘remove_title_attr’);

    But it doesn’t work and continuing show the tooltip title.

    What could I do to doesn’t show it?

    Thanks in advance,

    Jordi

    #1071756

    Hey Jordi,

    Please edit your Masonry Gallery element, go to Element Captions tab and choose to “display neither” in Element Title and Excerpt.

    Regards,
    Yigit

    #1071891

    Hi,

    I know this option but I would like doing for all images because there are a lot of pages and I can’t change all galleries of all pages and all idioms.

    Thanks,

    Jordi

    #1071930

    Hi Jordi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    .avia-tooltip { display: none !important; }
    
    

    Please note that this will disable all tooltips.

    Best regards,
    Yigit

    #1072199

    Hi Yigit,

    It works good. Thanks for all again.

    Jordi

    #1072340

    Hi,

    Glad we could help! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove image titles’ is closed to new replies.