The plugin works fine for the screen width I’ve set it to be active for, but it completely deletes my primary navigation menu when the screen is above the maximum width I’ve set in the settings. It doesn’t just hide it, it removes it entirely from the page. It no longer exists, and instead the responsive menu sits in it’s place (although it’s not being displayed above the maximum width size I set). So it’s just white space. I’m not getting any errors that would indicate a conflict, and I’m not using any other plugins to display my menu, I just built it out myself in my theme.
In addition, above the set max screen size, I can see the responsive menu (class = responsiveSelectContainer) on the screen. Except it’s just a big unordered list that runs down the length of my page (unformatted), so it’s not being hidden when it’s supposed to be hidden either. In the page’s code, it sits where the normal menu should be.
This is how I am registering my menus in my theme’s functions.php file (it’s the first one I’m using it for):
register_nav_menus( array( 'primary' => 'Primary Menu', 'support' => 'Support Us Menu' ) );
And this is how I call my menu in my theme’s header.php:
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
EDIT: added my code
FYI: disabling all other plugins does not solve the issue.
Sounds like it’s encountering some sort of error. Are you using any non-latin characters in your menu?
It also happens to me the same way, and yes I do, I am using cyrillic characters for a Russian Website. Why does it not work?? 🙁
I found the solution (your solution). Copy/paste here: https://github.com/sevenspark/responsive-select-menu/pull/2/files hehehe
- The topic ‘Plugin deletes menu for normal screen widths’ is closed to new replies.