Okay
  Public Ticket #276904
How to disable lightbox woocommerce
Closed

Comments

  • Mal started the conversation

    I don't have enable lightbox ticked in woocommerce settings general, but still get a (bad) lightbox?

    Please help...

  •  8,839
    Tahir replied

    Hey Mal!

    Can you please provide your site url as well as wp login details so we can have a look. 

    Thanks


    ThemeNectar Support Team 

  • Mal replied

    just so i understand, if I don't have the lightbox box ticked should all images just change in the main product photo space when thumbnail is clicked?

    (PS. 'bad' lightbox is due to the issue I've just updated on my other ticket about the words previo and next appearing when I have more than 8 images in the gallery)

    Thanks

  •  1,070
    ThemeNectar replied

    Hey Mal,

    To remove the lightbox effect - open the init.js file located in the js folder and change this line:

    $("a[data-rel='prettyPhoto[product-gallery]'], a[data-rel='prettyPhoto']").each(function(){
    to this:
    $("a[data-rel='prettyPhoto']").each(function(){

    Also the bad styling of your lightbox might be occurring because of a plugin you have active which also loads pretty photo styling

    Cheers