If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: turning off lightbox effect
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
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
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.
The topic ‘Turning off the lightbox effect’ is closed to new replies.