[Resolved] mobile menu display bottom with larger nav size

Home Forums Support [Resolved] mobile menu display bottom with larger nav size

Home Forums Support mobile menu display bottom with larger nav size

Viewing 4 posts - 46 through 49 (of 49 total)
  • Author
    Posts
  • #654803
    Leo
    Staff
    Customer Support

    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?

    #655005
    Howard

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

    #655017
    Howard

    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

    #655081
    Leo
    Staff
    Customer Support

    The snippet is needed to display the secondary menu without toggle.

    I’ve provided link that explained this numerous times already:
    https://docs.generatepress.com/article/disable-secondary-navigation-mobile-menu/

    Glad I could help 🙂 I’ll mark this one as resolved now and close the topic.

    Let us know if you run into other issues 🙂

Viewing 4 posts - 46 through 49 (of 49 total)
  • The topic ‘mobile menu display bottom with larger nav size’ is closed to new replies.