I have searched the forums, and while there are solutions from several years ago, they all reference a section of code in the js/avia.js file that doesn’t exist anymore.
I am wanting to use NextGen’s lightbox features but only on about 20 pages. I’d like to disable the Enfold lightbox on those pages but allow it everywhere else. Any updated suggestions?
Hey jpattersonphoto,
You need to exclude the pages and the NExtGen classes. Here is how to do it:
https://kriesi.at/support/topic/how-to-disable-modal-lightbox-only-on-one-page/#post-623864
But the code moved to this file now:
/enfold/js/avia-snippet-lightbox.js
Best regards,
Victoria
That post references also changing some code in the child theme’s functions.php file and it mentions the avia.js file. What should change if it is now referencing the avia-snippet-lightbox.js file?
Also, you mentioned the pages and the NextGen classes. There was no mention of that on the other page. What would the code look like for excluded classes? Any help is appreciated!
Hi jpattersonphoto,
Could you please give us a link to your website, we need more context to be able to help you. The classes are on the page with the images. You can inspect elements and see the classes there.
Best regards,
Victoria