Hide button on navigation menu and site tree
Maxime Chambonnet
Probably been asked :
Cf. atom, pdf viewers, you name it.
On tablet and desktop modes, site tree + nav menu is nice but takes often too much space
one button on nav menu only ? two buttons one for each pane?
Benjamin Arner
would also be helpful for exporting to pdf / printing
(weird left margin if navigation is not hidden, at least in chrome)
Karsten Breivik
Second that - seems to be on the list... https://requarks.canny.io/wiki/p/allow-table-of-contents-and-page-metadata-to-be-moved-to-the-right-or-hidden
Matheus Santos Oliveira
Definitely a nice simple feature!
Diego
I need this... Navigation bar takes too much screen space when using a 14' PC. I want to focus on text when I open a page
K
Kevin Frame
Diego: Here is the css that will serve as a temporary workaround and a screenshot of where you can place it. This removes the table of contents site-wide:
#app > div > main > div > div.container.pl-5.pt-4.container--fluid.grid-list-xl > div > div.flex.page-col-sd.lg3.xl2{
display:none;
}
Stephen
Kevin Frame: Thank you sir, that works great.
It would be nice to have an option to do it per page, but in the meantime your solution is good for me.
I think the current ToC takes way too much space for what it is worth. Also having it on the right would be better in my opinion. The content of the page is more important than the Toc.
Vishmika Fernando
Diego:
if you also need the page to expand to full width and align the page title to the left you can add a few additional parameters
#app > div > main > div > div.container.pl-5.pt-4.container--fluid.grid-list-xl > div > div.flex.page-col-sd.lg3.xl2 {
display: none
}
#app > div > main > div > div.container.grey.pa-0.container--fluid.lighten-4 > div > div {
margin-left: 0
}
#app > div > main > div > div.container.pl-5.pt-4.container--fluid.grid-list-xl > div > div.flex.page-col-content.xs12.lg9.xl10 {
flex-basis: 100%;
flex-grow: 0;
max-width: 100%
}