Tagged: disable, Lightbox Viewing 3 posts - 1 through 3 (of 3 total) Author Posts December 6, 2012 at 8:49 pm #18448 ViktoriaParticipant Hello, I am setting up a webstore with Cashie Commerce, which has a built in Lightbox option as well as the Choices Theme has. Therefore I have 2 lightboxes open on the Product details page. How can I disable the PrettyPhoto lightbox on those pages? Here are the links: http://www.theartsofsilence.com/products/ http://www.theartsofsilence.com/products/product-details/#cid=71915 Thank you, Viktoria December 7, 2012 at 7:47 am #99499 DudeModerator Try to replace following code in choices/js/avia.js: //activates the prettyphoto lightbox if(jQuery.fn.avia_activate_lightbox) jQuery(container).avia_activate_lightbox(); with: //activates the prettyphoto lightbox if(jQuery.fn.avia_activate_lightbox && jQuery('.c_detailsWrapper').length < 1) jQuery(container).avia_activate_lightbox(); December 7, 2012 at 3:48 pm #99500 ViktoriaParticipant It works perfectly!!! Thanks Dude, I appreciate your help. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Disable Lightbox on certain pages’ is closed to new replies.