Site logo

Archived topic

Mobile layout for Secondary nav on tablet

3 replies · Started by Alex on February 3, 2023

Viewing posts 1–4 of 4

Hi guys,

I am trying to achieve the mobile layout for tablet. More specifically, I'd like to get the footer hamburger of the secondary navigation visible in tablet mode.
Any ideas how can this be done?

Thanks

Hi there,

add this CSS :

@media (max-width: 1024px) {
    .secondary-navigation .menu-toggle {
        display: block;
    }

    .secondary-navigation ul,
    .secondary-navigation:not(.toggled) .main-nav>ul {
        display: none;
    }

    .secondary-navigation .inside-navigation {
        flex-direction: column;
    }

    .secondary-navigation .inside-navigation .main-nav {
        width: 100%;
    }
}

Works like a charm! Thank you!

You're welcome

This archived topic is closed to new replies.