Hi,
I am a photographer and I am trying to reset the galleries on my website using the justified image grid plug in from envato instead of the default galleries/portfolio in the Enfold theme because it includes a slideshow player and social sharing, which are vital for photographers. At the same time, I want to keep the default lightbox from Enfold on the other pages of my site. When I insert the justified image grid for the gallery page I get my images open in two light boxes, one by default and the other from JIG. If I turn the default one off, it just cancels the lightbox on all the pages, which I do not want. Is it possible to just disable the default lightbox for the gallery page but leave it functional for all the other pages?
Thanks a lot. I appreciate your help.
Hey kat08glow!
Hmm, not sure if it will effect the other lightbox but you can try surrounding your code with this.
<div class = "noLightbox">
</div>
If it does then try switching the class to “fakeLightbox” or “lightbox-added” instead. You can add your own class on line 898 in the /enfold/js/avia.js file.
exclude : '.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
Cheers!
Elliott