Is it possible to put the nav tabs in the top nav bar? #8171
-
We all know we can have a top nav, but that nav is under the bar with the site title, search, git info, etc. If you have maybe two links, an entire separate second bar under that top bar doesn't make sense / wastes space. Also, if your links are in the top bar, they scroll with the page and are always right there to click. Is it possible to move the nav top / nav tabs into the very top navbar next to the site title? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @swills1, You could look at the Blender developer docs to see how they implemented a custom header, and do so similarly. Reference:
|
Beta Was this translation helpful? Give feedback.
Hello @swills1,
yes it's possible, though it's considered a heavy customization which requires custom templates and CSS.
You could look at the Blender developer docs to see how they implemented a custom header, and do so similarly.
You can look at
nav.html
andnav-item.html
templates to see how they process the Navigation provided by MkDocs.Reference: