This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Vantage Theme breaking lightboxes & galleries

9 years ago · Last reply by Andrew Misplon 9 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 9 years, 11 months ago

    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.

Have a different question or issue?

Start New Thread