Archived topic
Double secondary menu issue
26 replies · Started by Carsten on July 23, 2020
Hi there, thanks for the update.
After updating, again I'm seeing this double secondary menu issue:
Hi there,
Is this happening on a specific page?
Not seeing it on the home page:
https://www.screencast.com/t/QH9MC2xF
That’s because the secondary menu is supposed to be hidden on the front page
Sorry are you using alpha 1?
Just saw this:
https://generatepress.com/forums/topic/updated-to-1-11-0-issues-with-menu/
Thanks, I installed the latest update, cleared the cache, but apparently the issue is still there.
I deactivated the front page restriction for the secondary menu. My secondary menu is not supposed to be mobile.
Sorry I cannot recall how you were hiding the secondary navigation on mobile before.
Was it with CSS?
I'm using a plugin called 'Nav Menu Roles - Hide custom menu items based on user roles.' but it's the same result, if I deactivate this.
Sorry, I misunderstood your question, no css, I'm using a markup from your documentation pages. Unfortunately I'm not able to access my functions.php at the moment to check that it's there, but the issues showed up, after the update.
Did you add the snippet to your child theme's function.php or parent theme's function.php?
This code snippet is added to my child theme's functions.php
add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
function generate_dequeue_secondary_nav_mobile() {
wp_dequeue_style( 'generate-secondary-nav-mobile' );
}
Are you able to check if the snippet is there now?
Yes, I checked it just now, it is there.
And the latest updates have been installed
Are you using alpha 4 now?
Yes, Version 1.11.0-alpha.4