Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #222825

    I want to disable the PrettyPhoto lightbox so that I can use a different gallery, I can do this successfully by modifying the avia.js file. Since I use the Enfold child theme I wondered if it was possible to have the modification in the child-theme only so that it wasn’t overwritten by future Enfold theme updates that changed avis.js.

    Thanks in advance



    Hey Jhon,

    Download this child theme made by Peter: use it as a starting point which deactivates the standard lightbox and loads the fancybox script instead.



    Thanks for the file.
    Do I still need to deactivate the PrettyPhoto lightbox in the parent avia.js?




    No, the child theme will remove all PrettyPhoto references and you can use it to implement a custom lightbox script.

    Best regards,


    That’s great thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Avia.js modification in child theme’ is closed to new replies.