Hide top level navigation? #8192
-
Hopefully an easy answer. I tried digging through the documentation, but couldn't find any info. Is there an easy way to turn off this top level name? It's a bit redundant with the name in the header so I'd like to remove it if possible. |
Beta Was this translation helpful? Give feedback.
Answered by
kamilkrzyskow
May 2, 2025
Replies: 1 comment 2 replies
-
I believe this is due to your project setup - it looks like the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
<label class="md-nav__title" for="__drawer">
is always included. It's part of the mobile navigation, but whennavigation.tabs
are not enabled, then the title is also visible in the desktop version without the logo.To hide it on desktop mode one would use extra CSS with media query:
References:
mkdocs-material/material/templates/partials/nav.html
Line 13 in e56efb2