When you hit MENU on mobile PRIMARY
The menu drops… but Blue secondary menu should DISSAPEAR …….
Wait
secondary menu should be removed when primary is hit (black color bar) and the pages drop down. As it is…the secondary menu keeps going below the primary navigation when it is HIT on mobile and “black” pages from primary menu are displayed…..you still see the Tom Icon below it
I do have the SNIPPET…disable secondary menu on mobile…activated…..if that is what the below code does?
add_action( ‘wp_enqueue_scripts’, ‘generate_dequeue_secondary_nav_mobile’, 999 );
function generate_dequeue_secondary_nav_mobile() {
wp_dequeue_style( ‘generate-secondary-nav-mobile’ );
}