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


    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



    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

    and change it to

    //activates the prettyphoto lightbox

    It will disable lightbox

    Best regards,


    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 4 years, 1 month ago by  vic98.


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


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

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