[Resolved] Menu hidden on mobile but off canvas still work

Home Forums Support [Resolved] Menu hidden on mobile but off canvas still work

Home Forums Support Menu hidden on mobile but off canvas still work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2361398
    David

    Hello

    How can I remove/hide the primary menu on mobile (white bar underneath header), but for it still to work show when called via the header block element that opens up the off canvas menu on mobile…

    https://staging.howardandsons.co.uk/uk-sales/

    Thanks
    Dave

    #2361874
    Leo
    Staff
    Customer Support

    Hi Dave,

    but for it still to work show when called via the header block element that opens up the off canvas menu on mobile…

    Has this part been done?

    #2362335
    David

    Hi Leo,

    No I haven’t, please see image…

    https://ibb.co/7k22kWR

    The menu below the header needs to be hidden, if I hide this via css, it stops the off canvas menu in the mobile header (next to the logo) from working.

    Thanks
    Dave

    #2362361
    Fernando
    Customer Support

    Try adding this in Appearance > Customize > Additional CSS:

    @media (max-width: 768px) {
        nav#site-navigation {
            display: none;
        }
    }
    #2362369
    David

    That’s great thanks, can you also help me center align the secondary menu items on this page, when viewing on mobile…

    https://staging.howardandsons.co.uk/uk-sales/

    #2363029
    Ying
    Staff
    Customer Support

    Try this CSS:

    nav#secondary-navigation.toggled .main-nav > ul >li {
        text-align: center !important;
    }
    #2363031
    David

    Perfect, thank you 🙂

    #2369079
    Ying
    Staff
    Customer Support

    You are welcome!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.