Replies: 0
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: http://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 10 minutes ago by
GetSirius. Reason: Add URL