need bookshelf hidden #1783

Closed
opened 2026-02-05 01:51:55 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @yoyomule on GitHub (Jul 9, 2020).

Thanks for providing such a good tool. My needs are simpler. I want to use it as a help file system, so I don’t want a bookshelf to exist, or there is only one by default and it is hidden. I also hope that the tree navigation will be clearer. I don't know if it can be done through settings.

Originally created by @yoyomule on GitHub (Jul 9, 2020). Thanks for providing such a good tool. My needs are simpler. I want to use it as a help file system, so I don’t want a bookshelf to exist, or there is only one by default and it is hidden. I also hope that the tree navigation will be clearer. I don't know if it can be done through settings.
Author
Owner

@ssddanbrown commented on GitHub (Jul 10, 2020):

Hi @yoyomule & Thanks!

The BookShelves header menu option should hide automatically if a user does not have permission to create or view any bookshelves in the system. This can be tricky for admin accounts, where you'd have all permissions, but you could maybe create yourself a reduced permission account for daily use in that case.

Alternatively, A little custom CSS, in the "Custom HTML Head Content" could be used to hide the option.

@ssddanbrown commented on GitHub (Jul 10, 2020): Hi @yoyomule & Thanks! The BookShelves header menu option should hide automatically if a user does not have permission to create or view any bookshelves in the system. This can be tricky for admin accounts, where you'd have all permissions, but you could maybe create yourself a reduced permission account for daily use in that case. Alternatively, A little custom CSS, in the "Custom HTML Head Content" could be used to hide the option.
Author
Owner

@yoyomule commented on GitHub (Jul 10, 2020):

Thank you, this can indeed solve the problem. But I have a suggestion, I found that its operation path is a bit long, I need to click multiple times to reach the page I need, can you optimize the tree directory better? For example, this shows how many pages there are and whether they can be hidden. For the help documentation, a clearer document structure is easier to operate.
image

@yoyomule commented on GitHub (Jul 10, 2020): Thank you, this can indeed solve the problem. But I have a suggestion, I found that its operation path is a bit long, I need to click multiple times to reach the page I need, can you optimize the tree directory better? For example, this shows how many pages there are and whether they can be hidden. For the help documentation, a clearer document structure is easier to operate. ![image](https://user-images.githubusercontent.com/10000818/87094818-291c4400-c272-11ea-977f-b4dbbe78c66f.png)
Author
Owner

@ssddanbrown commented on GitHub (Jul 10, 2020):

You could add the below to your "Custom HTML Head Option" to force-show all items in that menu:

<style>
	.chapter-child-menu > button {
		display: none;
	}
	.chapter-child-menu > button + ul {
		display: block !important;
	}
</style>

Not an officially supported, stable tweak so could stop working on upgrade but should do the job now, Might just need a little adjustment if it does break in the future.

@ssddanbrown commented on GitHub (Jul 10, 2020): You could add the below to your "Custom HTML Head Option" to force-show all items in that menu: ```html <style> .chapter-child-menu > button { display: none; } .chapter-child-menu > button + ul { display: block !important; } </style> ``` Not an officially supported, stable tweak so could stop working on upgrade but should do the job now, Might just need a little adjustment if it does break in the future.
Author
Owner

@ssddanbrown commented on GitHub (Jul 11, 2020):

Since the questions have been answered I'll close this off.

@ssddanbrown commented on GitHub (Jul 11, 2020): Since the questions have been answered I'll close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1783