You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - Thanks for your Hugo Book theme. I have the following questions. I am looking forward to solutions.
How can a fixed top navigation bar be added to cover the page width?
How to hide the sidebar? In my case, I want to achieve it on only the homepage. I saw the bookToc: false on the right side
The text was updated successfully, but these errors were encountered:
jeevatkm
changed the title
Question reagrding top Navigation bar and hide sidebar for homepage
Question regrading fixed top Navigation bar and hide sidebar for homepage
Oct 7, 2024
Hi!
There is injection template layouts/partials/docs/inject/body.html where you can add html code at the end of body, and then work with it with css to make static header, it is not supported out of the box, and as I see it, it might interfere with header in mobile view.
For the sidebar is kinda similar, you want to create a copy of page template into home page template and adjust rendering menu or not for the page.
Unfortunately there is no simple example I can give you :(
Thanks, @alex-shpak, for your response. I will take a shot at it.
Is adding these features and keeping the optional configuration to enable it feasible?
Hello - Thanks for your Hugo Book theme. I have the following questions. I am looking forward to solutions.
bookToc: false
on the right sideThe text was updated successfully, but these errors were encountered: