Need to make the title text a URL that links to the homepage #5318
-
Hi - my usability tests on mobile are are showing difficulty for the user to navigate back to the home page. I know it's a simple modification by extending the
The reason this is so important: Only the logo/icon goes to the home page. It is difficult to figure this out on a phone through the standard menu navigation because you have find the back arrow and click several times in the menu interface. This can be easily fixed by also having the Title text link to the homepage, because the Title text is always present at the top, no matter the screen size. This will greatly help my site usability - any assistance with the code snippet is very much appreciated. Thank you! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
You could use |
Beta Was this translation helpful? Give feedback.
-
Thanks @squidfunk - glad to see the breadcrumbs option which I will gladly pay for, But isn't there a simple solution in the I tried getting ChatGPT to tell me but it didn't quite get it right : \
|
Beta Was this translation helpful? Give feedback.
-
I've noticed most users will intuitively click on the 'header-title' text when wanting to return to landing page (the icon usually being the second thing they will click on). I'll probably override the |
Beta Was this translation helpful? Give feedback.
Override
header.html
(copy all contents) and replace the following lines with a link:mkdocs-material/src/partials/header.html
Lines 57 to 61 in 270129a
Something like (untested):