-
Notifications
You must be signed in to change notification settings - Fork 865
Offcanvas menu not working #720
Comments
Hi, @MarineLB ! Did you set the mobile menu to be displayed as an offcanvas menu in the customizer? |
ohhh i was looking for this setting ! |
Yep, it's checked. |
Sounds like something weird has happened. If you roll back the changes you just did in the .php files, what errors do you get in the devtools console (chrome)? |
There was no particular errors in the console ! (I returned the header.php to its previous condition) |
Hmm. I just pulled the latest master branch to my local dev install, did an |
i actually might not have the latest version (it's older than 2 days ago). i'll try to add the changes and see if it works ! |
Both off-canvas and hamburger icon works on a fresh install. Unfortunately I have not the ability to debug on a remote dev environment. |
Hi, i'm using the latest version of FoundationPress, i noticed that in header.php this line of code called the mobile menu :
<?php if ( ! get_theme_mod( 'wpt_mobile_menu_layout' ) || get_theme_mod( 'wpt_mobile_menu_layout' ) == 'topbar' ) : ?> <?php get_template_part( 'parts/mobile-top-bar' ); ?> <?php endif; ?>
so i tried to replace top-bar by off-canvas (as the off-canvas.php exists)
It does show a menu, but it definitely does not work like an offcanvas menu..
please help ?
The text was updated successfully, but these errors were encountered: