-
AuthorPosts
-
October 21, 2017 at 12:39 pm #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.
October 21, 2017 at 9:54 pm #867106Hey 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,
MikeJuly 24, 2021 at 9:46 am #1312042Hi 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.
July 24, 2021 at 10:49 am #1312049Hi,
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,
MikeJuly 24, 2021 at 10:58 am #1312052Yes 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,
JasonJuly 26, 2021 at 12:50 pm #1312413 -
AuthorPosts
- You must be logged in to reply to this topic.