Site logo

Archived topic

Off Canvas Menu does not appear becouse of NextGEN gallery

7 replies · Started by Marcin on October 19, 2020

Viewing posts 1–8 of 8

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?

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

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?

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

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

No problem :)

This archived topic is closed to new replies.