Site logo

Archived topic

mobile menu display bottom with larger nav size

48 replies · Started by Howard on August 14, 2018

Viewing posts 46–49 of 49

I checked using browser resize and my phone and looks like it's working:
http://www.screencast.com/t/WJ7Zl624OP

Isn't that what you wanted? To display the secondary menu without toggle?

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' );
}

It’s correct.... I’m getting so confused I’m losing my mind......it’s fine now! Resolved
Thanks!
( until next problem hopefully not

So I understand correctly:
Please advise what this snippet 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' );
}
thanks so much

This archived topic is closed to new replies.