Expanding vertical menu - Post ID 250476

User 473299 Photo


Registered User
144 posts

How can I make the small view vertical menu to stay open all the time and not collapsing?
User 271657 Photo


Administrator
3,816 posts

Why not use just a vertical menu format then?
The collapsing menu is to take the place of the full (horiz. or vert. menu) to save space on small screens. If you want a vertical menu that stays open all the time, just build that and don't switch to a mobile menu at all.

If you want to have both a horizontal and a vertical menu, just switch them at an appropriate breakpoint:
@media all and ( max-width: 700px ) {
.horiz-menu { display: none; }
.vert-menu { display: block; }
}
(set your own breakpoints, class names and properties within MB)
Then switch the display properties for a wider screen to hide the vert. menu and show the horizontal version.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.