Is there an option to show the hamburger left menu by default? #3210
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 18 replies
-
There's no option. You would need to patch the theme and adjust the media queries. For starters: mkdocs-material/src/assets/stylesheets/_config.scss Lines 28 to 42 in 38e0013 mkdocs-material/src/assets/javascripts/bundle.ts Lines 94 to 95 in 38e0013 Also, search the source for |
Beta Was this translation helpful? Give feedback.
-
I'm trying to do a similar thing, where I want not flip to the hamburger menu too soon. Currently when the browser width goes to less than 1220px, it flips to the hamburger, but I want to shrink the site down to like 1000px or so. (My personal web browsing width is less than 1220 but I want the desktop interface.) I have searched through the discussions and been looking through the CSS and stuff. Is there any way I can make this behavior happen with CSS overrides alone, or do I have to actually change the theme source and recompile it? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I tried replacing specific sizes based on the suggested of squidfunk in the bundle unlucky :( |
Beta Was this translation helpful? Give feedback.
There's no option. You would need to patch the theme and adjust the media queries. For starters:
mkdocs-material/src/assets/stylesheets/_config.scss
Lines 28 to 42 in 38e0013
mkdocs-material/src/assets/javascripts/bundle.ts
Lines 94 to 95 in 38e0013