Mobile menu no longer showing
-
Our menu was working perfectly on desktops, tablets and mobiles until about a week ago. It still works fine on any device over 568px (our responsive breakpoint), but no longer shows at all on anything smaller.
We’re using a child theme of Storefront and the following code is in the Template functions for the header:
if ( ! function_exists( 'storefront_primary_navigation' ) ) { /** * Display Primary Navigation * @since 1.0.0 * @return void */ function storefront_primary_navigation() { ?> <nav id="site-navigation" class="main-navigation" role="navigation"> <button class="menu-toggle"><?php echo esc_attr( apply_filters( 'storefront_menu_toggle_text', __( 'Navigation', 'storefront' ) ) ); ?></button> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #site-navigation --> <?php } }
The website is https://toy-barn.co.uk. Any ideas would be greatly appreciated!
Thanks.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Mobile menu no longer showing’ is closed to new replies.