Lightbox not loading
-
Hello, love the plugin and got it to work no problem on my test site, however for my main site https://www.babyworldandme.co.uk the lightbox isn’t loading and loads each image in a separate box. My test site and main site have identical plugins, so I can’t work this out. I checked the view source on my site which came up with this. I’m a newbie at this so any simple solutions and steps I can take?
</script>
<script type=’text/javascript’ src=’https://www.babyworldandme.co.uk/wp-content/plugins/siteorigin-panels/js/styling-24.min.js’ defer ‘></script>
<script type=”text/javascript”>/* Run FooBox FREE (v1.0.14) */
(function( FOOBOX, $, undefined ) {
FOOBOX.o = {wordpress: { enabled: true },
excludes:’.fbx-link,.nofoobox,.nolightbox,a[href*=”pinterest.com/pin/create/button/”]’,
affiliate : { enabled: false },
error: “Could not load the item”};
FOOBOX.init = function() {
$(“.fbx-link”).removeClass(“fbx-link”);
$(“.fbx-link”).unbind(“.prettyphoto”).unbind(“.fb”);
$(“.foogallery-container.foogallery-lightbox-foobox, .foogallery-container.foogallery-lightbox-foobox-free, .gallery, .wp-caption, a:has(img[class*=wp-image-]), .foobox”).foobox(FOOBOX.o);
};
}( window.FOOBOX = window.FOOBOX || {}, jQuery ));FooBox.ready(function() {
//preload the foobox font
jQuery(“body”).append(“<span style=\”font-family:’foobox’; color:transparent; position:absolute; top:-1000em;\”>f</span>”);
FOOBOX.init();
- The topic ‘Lightbox not loading’ is closed to new replies.