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

    Hi,

    How do I turn off the lightbox effect that happens when you mouse over an image.
    I have added a background to the theme and when you mouse over the images the background turns white

    Cheers

    #167105

    Hey vic98!

    In your WordPress theme directory please go to Enfold > Js and open Avia.js file and find following code in lines 51-53

    //activates the prettyphoto lightbox
    		if($.fn.avia_activate_lightbox)
    		$(container).avia_activate_lightbox();

    and change it to

    //activates the prettyphoto lightbox
    		//if($.fn.avia_activate_lightbox)
    		//$(container).avia_activate_lightbox();

    It will disable lightbox

    Best regards,
    Yigit

    #167418

    I have made this edit within the code but the lines of code just grey out and the lightbox feature remains the same.
    when I check the code it has updated to // before each line but the lightbox still operates.
    Any ideas?

    • This reply was modified 6 months, 3 weeks ago by  vic98.
    #167469

    Hello!

    Please remove browser cache then reload the page a few times. The code Yigit provided should disable all lightbox features within the theme.

    Cheers!
    Ismael

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

The topic ‘Turning off the lightbox effect’ is closed to new replies.