Site logo

Archived topic

Display Custom Menu for Mobile

3 replies · Started by Prajwal on July 1, 2021

Viewing posts 1–4 of 4

Hi there,

In this case, I don't think there's a way to show the mobile menu directly without a toggle, since the mobile menu can only been seen in the mobile header.

I would suggest using the same set of the primary menu on mobile, then add CSS to hide some of the menu items.

And go to Customizing > Layout > Primary Navigation, set the Mobile Menu Breakpoint to 0, so the menu won't become toggle when the screen shrinks.

Hope this is helpful :)

Let me know if you need further assistance.

Ok you can close this ticket but I have last one question.

You can try this CSS:

@media (max-width: 768px) {
    .separate-containers .site-main {
        margin-top: 0;
    }
}

As you have border-radius applied to the containers, you might want to use a negative value instead of 0 to hide the rounded corner as well :)

This archived topic is closed to new replies.