Secondary navigation on mobile question

Home Forums Support Secondary navigation on mobile question

Home Forums Support Secondary navigation on mobile question

Viewing 10 posts - 31 through 40 (of 40 total)
  • Author
    Posts
  • #333641
    Jason

    Yup – that’s where I copied from. Code Spippet is active. Below is what I have running:

    add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
    function generate_dequeue_secondary_nav_mobile() {
        wp_dequeue_style( 'generate-secondary-nav-mobile' );
    }

    I have no idea why it’s not working. Driving me nuts.

    #333643
    Leo
    Staff
    Customer Support

    That’s really weird. Are you able to provide a screenshot of the Code Snippet page?

    You can upload to a site like this: https://postimage.io/ and provide the direct link.

    #333644
    Jason

    [url=https://postimg.org/image/9hmsnej2r/][img]https://s13.postimg.org/qux329edz/Screen_Shot_2017-06-14_at_3.56.41_PM.png[/img][/url]

    #333645
    Leo
    Staff
    Customer Support

    Hmm that is really weird…Can you try checking “Run snippet everywhere”?

    #333646
    Jason

    Ok. Updated.

    #333650
    Leo
    Staff
    Customer Support

    Ahh sorry I see what’s going on. You are using the mobile header which removes secondary navigation.
    https://docs.generatepress.com/article/mobile-header/

    Try turning it off. Your logo is normal logo is quite big so it should still look good without using the mobile header.

    #333661
    Jason

    Ok – that’s working, but it takes up SO much space at the top now. Nearly half the page is menu. Any suggestions here? Ideally, the logo and the hamburger menu would be on the same line as it does when you use the mobile header. Thoughts?

    #333664
    Leo
    Staff
    Customer Support
    #333929
    Jason

    Thanks again Leo. Appreciate the help.

    #333979
    Leo
    Staff
    Customer Support

    No problem!

Viewing 10 posts - 31 through 40 (of 40 total)
  • You must be logged in to reply to this topic.