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

    Hi guys,

    I have an odd problem where the image lightbox gallery shows unrelated items from the same page in it.

    For example when I click on the product image on my product page, I see YouTube videos from my footer, which is very confusing to customers.

    How can I make the lightbox gallery only show the product image?

    Thanks.

    #867106

    Hey Jason,
    Your YouTube gallery plugin happens to use the same lightbox script and same classes as the Enfold lightbox, so there is a conflict.
    The best solution I have come up with so you can still use both is to hide the lightbox controls so your customers won’t keep clicking the arrows and see the videos:

    .mfp-arrow, .mfp-bottom-bar {
        display: none !important;  
    }
    .mfp-figure img {
    pointer-events: none!important; }

    but this is not perfect because if you have more than one image for your products they won’t see them without having to click the additional thumbnail.

    Best regards,
    Mike

    #1312042

    Hi guys,

    For years I disabled the Enfold gallery to workaround this problem.

    Due to issues with page speed I have switched back to it, and still have the problem.

    Is there a way we can exclude these Youtube links from appearing in the Enfold gallery? This says its possible but would need to be incorporated into the plugin.

    Thanks,
    Jason

    • This reply was modified 3 years, 5 months ago by Jason.
    #1312049

    Hi,
    Are you still using the same YouTube gallery plugin that was causing the conflict, or are you also able to give that up so that only the theme lightbox script is used?

    Best regards,
    Mike

    #1312052

    Yes I am.

    I am hoping for an update from Enfold so it does not pick up these thumbnails and cause an incompatibility with the plugin. The plugin itself does not get regular updates.

    Thanks,
    Jason

    #1312413

    Hi,
    Sorry, I tried looking into this further but I don’t see that this would be possible without modifying the plugin script, and we can’t do that. I believe your best approach would be to use a different plugin.

    Best regards,
    Mike

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