Jigoshop double lightbox
URL to the page in question:
-
When I deactivate the Jigoshop lightbox . . . there is no popup. When I activate jigoshop lighbox . . . I get two popup instances on the product page. Help!
Rob,
It sounds like you may need to turn off the lightbox that’s bundled with the theme to keep it from doubling. You can do that in the first tab of the theme options page. There’s a spot where you can disable it there.
If you still run into double light boxes, let me know,
Bill
Yeah, but I am using the themes lightbox for galleries.
You can edit Foxy’s lightbox out of the product galleries. Here’s how:
- Go to the Appearance section and select Edit.
- From the list of files on your right, choose custom-js.php and look for this section:
// Add lightbox class to single images with links:
jQuery('a').each(function(){
if ( this.href.toLowerCase().substr(-4).indexOf('.jpg') < 0 &&
this.href.toLowerCase().substr(-5).indexOf('.jpeg') < 0 &&
this.href.toLowerCase().substr(-4).indexOf('.png') < 0 &&
this.href.toLowerCase().substr(-4).indexOf('.gif') < 0 )
return;
var $lnk = jQuery(this);
$lnk.addClass('lightbox');
});
- Delete it.
- Save your changes.
That will take out the theme's lightbox from everywhere except page/post galleries.
Let me know if you have any trouble,
Bill
I actually disabled the lightbox in both the theme and Jigoshop. I then installed lightbox for WP and it worked for both without tweaking anything.
That works too. There seems to be no shortage of ways to hook up a lightbox in WordPress.
I actually disabled Jigoshop’s light box and the theme was still active WITH the plugin active and it worked.
- The topic ‘Jigoshop double lightbox’ is closed to new replies.