Home>Support>Vantage Theme breaking lightboxes & galleries

Vantage Theme breaking lightboxes & galleries

The following lightbox/gallery plugins did not work correctly with the Vantage (Premium, in my case) theme, but did work with twentyfifteen:
Simple Lightbox: https://wordpress.org/plugins/simple-lightbox/
Responsive Lightbox: https://wordpress.org/plugins/responsive-lightbox/
Lightbox2 (jQuery, not wordpress): http://lokeshdhakar.com/projects/lightbox2/

The failure mode was the same for all three of the above, the click event handler for the image links was removed or ignored. Clicking the link would simply navigate to the image instead of opening in a lightbox.

Photo Gallery: https://wordpress.org/plugins/photo-gallery/

The image uploader displayed a loading overlay and icon, but was otherwise non-functional.

I was eventually able to get the jQuery plugin, Lightbox2, working by ensuring that it loaded last. To do this, I had to make vantage-main a dependency when enqueuing the script, and load it in the footer. Only then would the lightbox function as expected.

I tried disabling all other plugins, including Page Builder and Meta Slider, and experienced the same behavior.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jeremy

    Thanks for your detailed feedback. Have you made further progress on this challenge? Is there one plugin from this list you’d prefer to be using? Perhaps I could start by looking into that specific plugin’s issue?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More