Disable Lightbox

Home Forums Gillion Theme Disable Lightbox

Home Forums Gillion Theme Disable Lightbox

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • marouane91
    Participant

    Hello,

    I would like to know how i can disable the Lightbox popup image.

    I tried to look out in the theme settings, but it doesn’t seem to be any option for it to disable it completely.

    So if there is another way, like adding a PHP code, i’m all ears.

    I’m trying to disable it for good, so no library is loaded.

     

    Thank you

    Hi @marouane91,

     

    I hope you are well today and thank you for your question.

     

    Could you please share the page URL from your site where it is displaying so that I can help you to disable it?

     

    Best regards,
    Shufflehound team

    marouane91
    Participant

    Thank you for your reply!

    Here is an example of this page.

    You’ll find the link in the “private information field”.

     

    Thanks

    Solution for this topic

    That lightbox javascript code is a part of theme file /gillion/js/plugins.js added on line number 285

    marouane91
    Participant

    Thank you very much.

    I commented the all section of the function under:

    /*
    * Lightcase – jQuery Plugin
    * The smart and flexible Lightbox Plugin.
    *
    * @author Cornel Boppart <[email protected]>
    * @copyright Author
    *
    * @version 2.4.0 (09/04/2017)
    */

     

    Was that the right way ?

    Solution for this topic

    You have to overwrite that whole javascript file in the child theme as theme update will overwrite your changes.

    marouane91
    Participant

    I just did in the child folder. Thank you so much for your help.

    I appreciate your follow up and accurate instructions. You’ve been a great deal of help to me.

    Thank you 🙂

    You are most welcome here 🙂

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