Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #367452

    Hi, I look this topic because I have same problem.
    The solution proposed by Elliot does not work.

    Theme Punch topic explains how to avoid double lightbox call, it works well with a standard theme (TwentyEleven) but not with Enfold.
    If I disable the lightbox for Enfold it works. But there is more of lightbox in the rest of the website.

    Any ideas ?

    Regards.

    Jean

    #367721

    Hey Jean!

    Thank you for using Enfold.

    You just need to edit the single quotations marks on the code. Use this instead:

    add_action( 'wp_footer', 'enfold_customization_customscript' );
    function enfold_customization_customscript(){
    ?>
    <script type = "text/javascript">
    jQuery(document).ready(function(){
    // FancyBox: when the theme adds the fancybox class
    jQuery('.esg-grid .fancybox').off('click.fb');
    
    // FancyBox: when the theme just connects the hyperlink, without adding a fancybox class
    jQuery('.esgbox').off('click.fb');
    
    // ColorBox
    jQuery('.esgbox').removeClass('cboxElement');
    });
    </script>
    <?php
    }

    Regards,
    Ismael

    #480696

    Hi, same problem here!
    I added the above code at the very end of functions.php, but it had no effect.
    Anyway, is this code supposed to disable the lightbox in Enfold, or in EssentialGrid?
    Could you explain both methods?
    Thanks,
    Thomas

    #481321

    Hi!

    Is “essential grid” a plugin? Are you wanting to use their lightbox or our lightbox? If you want to use ours then you’ll need to contact the plugin authors and ask how to stop it from opening up in lightbox.

    Regards,
    Elliott

    #481322

    Hi Elliot. Thanks for your answer.
    Indeed, EssentialGrid is a plugin.
    Let’s say in our case I’d like to disable the Enfold theme lightbox. How can I do so ?

    #481920

    Hi,

    You can disable it by going to Theme Options and unchecking the Lightbox Modal Window option.

    Regards,
    Rikard

    #761634

    when disabling the ‘Lightbox Modal Window’ in the enfold settings, it disables ALL lightboxes .. including Essential grids lightbox..

    #762337

    Hi @nulrick,

    That should not be the case, are you sure that the third party code you are using is working properly?

    Best regards,
    Rikard

    #762347

    well I can’t know 100% other than I have used this plugin/theme combo before and I had received a css/js hack from your team to solve this problem.. and now I’ve updated my enfold theme and its not working anymore, even when I try the same hacks.. the plugin is essential grid from theme punch, which so far has been a pretty solid plugin. If possible can you look at my site in order to determine where the problem is coming from? I just purchased a support renewal for this theme in hopes of resolving this. I’ll be glad to send my login info.

    #764038

    Hi,


    @nulrick
    : The test page is blank. Please re-create the test page and then post the login details in the private field so that we can check it. Make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.