[Resolved] Off Canvas Menu does not appear becouse of NextGEN gallery

Home Forums Support [Resolved] Off Canvas Menu does not appear becouse of NextGEN gallery

Home Forums Support Off Canvas Menu does not appear becouse of NextGEN gallery

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1495433
    Marcin

    I want to use Off Canvas Menu on mobile but it doesn’t appear after clicking the icon. I’ve figured out, that turning off NextGEN gallery fix this bug. However NextGEN is cruciall for this project. Do You have any idea how to fix this issue?

    #1495506
    David
    Staff
    Customer Support
    #1495514
    Marcin

    Thank You, but in this specyfic scenerio it doesn’t work

    #1495776
    Leo
    Staff
    Customer Support

    That’s strange. The solution worked for everyone else who had this issue.

    How did you add the code?

    Can you link us to the page in question?

    #1495820
    Marcin

    I added the code using generatepress element huck at footer to whole page.
    Lumeris.pl

    #1495836
    Leo
    Staff
    Customer Support

    Try one of these methods instead:
    Adding PHP: https://docs.generatepress.com/article/adding-php/

    #1496513
    Marcin

    Thank You, adding PHP via custom plugin does work. For the others:
    1. Instal Pluginception:
    2. Create Plugin (suggestet name NextGEN and Generatepress Integration)
    3. Put the code:

    <?php
    add_action( 'after_setup_theme', 'tu_move_slideout_navigation' );
    function tu_move_slideout_navigation() {
        remove_action( 'wp_footer', 'generate_slideout_navigation', 0 );
        add_action( 'generate_before_footer', 'generate_slideout_navigation' );
    }
    ?>

    4. Save new plugin
    5. Activate new plugin
    6. Check if everything works

    #1497294
    Leo
    Staff
    Customer Support

    No problem 🙂

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