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

    Hell. I have the masonry gallery on one of my pages. I have turned off titles and captions in the options but when I scroll over the photos, eventually the file name appears. Anyway to keep this from happening? Also on this page my Facebook icon in the footer is scrunched. Anyway to undo that?

    #300466

    I also noticed that when I scroll over an image, the main menu bar flashes. Is this normal?

    #300513

    Hey!

    Thank you for using the theme.

    That is the default browser behavior when an image has a title attribute. You can disable it by removing the images’ title attribute. Add this on functions.php:

    function remove_image_title() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    jQuery('img').removeAttr('title');
    });
    </script>
    <?php
    }
    
    add_filter('wp_head', 'remove_image_title');

    Remove browser cache then reload the page a few times.

    Best regards,
    Ismael

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