• Resolved GetSirius

    (@getsirius)


    I would like to use nextGEN Gallery with the Customizable theme but am having an issue. When an image is clicked, it brings up the image file, not a lightbox.

    Works fine if I switch themes to TwentySeventeen.
    Does not work if I use my child theme or the default Customizable theme.

    I find the problem seems to be in wp-content/themes/customizable/js/default.js

    When I delete the following code from default.js the lightbox effect works. With the code lines in place, no lightbox, just the image file displayed directly.

    Example is here: https://speterson.me/wp/small-works-i-test/

    
    		var owl = jQuery("#owl-demo");
    	 
    	owl.owlCarousel({
    			itemsCustom : [
    			  [0, 1],
    			  [450, 2],
    			  [600, 2],
    			  [700, 2],
    			  [1000, 4],
    			  [1200, 4],
    			  [1400, 4],
    			  [1600, 4]
    			],
    			itemsMobile : true,
    			navigation : false,
    			autoHeight : false,
    	});	
    

    Also, I can not copy default.js to my child theme and do the edit, does not work. I found that it has to be done in the original theme directory, not my child theme.

    SO, two questions I guess:
    Will deleting these lines cause me to have other problems?
    Can anyone tell me why I can not copy default.js to my child theme folder?

    THANK YOU!

    • This topic was modified 7 years, 9 months ago by GetSirius. Reason: Add URL
Viewing 1 replies (of 1 total)
  • Thread Starter GetSirius

    (@getsirius)

    Would still like to know if deleting the above code will cause me problems. Example page has been removed since I need to move on with the website.

Viewing 1 replies (of 1 total)
  • The topic ‘No Lightbox in nextGEN Gallery’ is closed to new replies.