Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #209645

    Hello Everyone,

    I installed a gallery plugin that i needed to setup a gallery page because i like the layouts it offers. I created my gallery page, loaded my images. It works great until i click on an image and it opens up the plugin lightbox, and the wordpress lightbox. So 2 lightboxes open up at the same time.

    Is there any way to turn off the default lightbox without affecting my products images?

    #210134

    Hi axgillette!

    If you can modify the image links then you can add the noLightbox class to them: http://www.kriesi.at/documentation/enfold/prevent-image-or-link-from-opening-in-a-lightbox/

    Otherwise you can turn off the lightbox theme wide by removing this code from the js>avia.js file:

    
            //activates the prettyphoto lightbox
            $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
    

    Cheers!
    Devin

    #210287

    I understand what you are saying, and that’s all good, but it is on images that this is happening on. It does not happen to my products. Only those images located in my gallery page. You can see here:

    So if i also go about and turn it off site wide, then that would affect my product images and they would not open up in a light box right? Then we got a problem there.

    #210294

    If you are using a plugin that has its own lightbox effect you can either turn of that plugins effect or the themes.

    WooCommerce also has its own lightbox which can be turned on individually or you can look into other plugins which have more individual control of the lightbox effect.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.