Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #845809

    Hi

    Is there a way to remove the popup which appears when clicking on the gallery image and thumbnails?

    I have tried
    A) Unchecking lightbox on general styling
    B) Selecting “No, don’t add a link to the image”

    But the popup still appears, and it is especially irritating when viewed on mobile.

    Can you please help?

    #846365

    Hey,

    Can you please post a screenshot and show the popup you would like to remove? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here. The popup i thought of should have been removed when you unchecked lightbox. We might not be on the same page but screenshot should help :)

    Best regards,
    Yigit

    #847544

    Hi Yigit

    The gallery included doesn’t seem to respond to unchecking lightbox. You can see the link I provide below.

    On a PC/laptop, hovering the cursor on it without clicking is possible, but on a mobile device there is no way to view the thumbnails without tapping on the screen. When this happens, I end up on a page with the image alone which I do not want.

    Thank you.

    #848450

    .

    #848760

    Hi,

    Sorry for the late reply!

    Please add following code to Functions.php file in Appearance > Editor

    function av_remove_gallery_lb(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('#top .avia-gallery .avia-gallery-thumb a').attr('href','#');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_remove_gallery_lb');

    Best regards,
    Yigit

    #849168

    Excellent. Thank you!

    #849187

    Hi,

    I’m glad you were able to get this fixed. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Disabling Popup on Media Gallery’ is closed to new replies.