• Resolved infatum

    (@infatum)


    Every page which has a Foobar Gallery shows it in double. You can check the link to see it. First, the original box and then when closing it one can see the image again.
    This hasn’t happened before. I remember deinstalling and reinstalling the Foobar Gallery and FooBox Image Lightbox plugin, but it didn’t help. I tried deactivating them by one. Same. Does anybody know?

    • This topic was modified 4 years ago by infatum. Reason: wanted to add image. No image upload field

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bradvin

    (@bradvin)

    hi @infatum

    I had a look at your page, and there is another lightbox loading which is either part of your theme, or from another plugin. You can either try to disable that other lightbox if there are settings to disable it.

    If not, then you will have to select no lightbox when editing the FooGallery.

    Thread Starter infatum

    (@infatum)

    I figured from Inspect element that this code
    `<div class=”mfp-container mfp-image-holder mfp-s-ready”>
    and mfp in particular has to do with magnificPopup. I don’t have a slightest hint where that comes from since I’ve got only a handful of plugins in my plugin section.

    I can’t find a tweak for OceanWP settings to disable it. Not in the addons.

    I’ve found similar issue on this thread

    There is a comment,

    Ben Ritner – Kadence WP (@britner)
    1 year, 1 month ago
    Just to clarify is Magnific lightbox what does the prev/next image?

    No, it’s the lightbox js plugin. see here: https://dimsemenov.com/plugins/magnific-popup/

    How the plugin is initiated determines if it’s going to open as a gallery or not, my guess is that OceanWP is just adding the lightbox to all images and it doesn’t have code to tell that the Kadence Gallery is a Gallery. Maybe they will add that?

    Hmm, could I add the script needed in functions.php?

    Best to talk with OceanWP about the best method.

    Can someone hint how to disable OceanWP lightbox in the settings, without modifying theme files?

    • This reply was modified 4 years ago by infatum.
    • This reply was modified 4 years ago by infatum.
    • This reply was modified 4 years ago by infatum.
    Plugin Author bradvin

    (@bradvin)

    I found the following which might help:

    https://www.ads-software.com/support/topic/double-lightboxes-when-used-with-elementor/

    Hello, two solutions:
    1. Via Theme Panel > Scripts & Styles, disable the lightbox script.
    2. If the first solution doesn’t work for you, add this code in the functions.php of your child theme: https://docs.oceanwp.org/article/464-disable-the-lightbox-scripts

    Thread Starter infatum

    (@infatum)

    Thanks a lot. The 1st solution worked. Didn’t know this problem is 2y and 9 months old. I didn’t even know one could disable features like that. OceanWP is great in this respect.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Double popup window on user click’ is closed to new replies.