• We need to disable the Easy Fancybox lightbox on this page:
    https://rangerdesign.com/media/photo-gallery/

    We’ve added nofancybox and nolightbox to the link class via jQuery (also tried adding them individually). However after you close the NGG Gallery image, the Easy Fancybox Lightbox is there as well and you then need to close it. How do we remove the Easy Fancybox if that class is not working?

    Also, on some of the Easy Fancybox lightboxes on the site the close X at the top right is partially missing (as you can see on the example). How do we fix this as well?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Peter,

    I would suggest a slight modification to the script snippet:

    <script type="text/javascript">
       jQuery(document).ready(function() {
          jQuery('.nextgen_pro_lightbox').addClass('nofancybox');
       });
     </script>

    But looking at your gallery page, your script (adding nolightbox) appears to be working, at least in my Chrome browser.

    Thread Starter Peter

    (@petert-1)

    OK thanks.

    I did some further testing and it appears to work in Chrome and Edge in incognito windows properly. However, using Edge or Safari in regular mode has the Easy Fancybox popup showing after you close the NGG Gallery window.

    I’m afraid I’m not able to test Edge or Safari browsers but are you logged into WordPress on these browser by any chance? That might cause the script to behave differently…

    Thread Starter Peter

    (@petert-1)

    No, I’m not logged in those browsers.

    Do you get a browser console error?

    To see console errors in different browsers, see instructions on https://ggnome.com/wiki/using-the-browser-error-console/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot Disable Easy Fancybox on NGG Gallery’ is closed to new replies.