Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1213072

    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?

    #1213376

    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

    #1214159

    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?

    #1214171

    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!

    #1215478

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.