Odrec
March 1, 2024, 12:39pm
1
Hello, we are preparing to release a streamlit app in a production environment but we were told that most of the options in the 3-dot Menu are confusing for people so to take them out and leave only the choosing of Themes.
Is there an easy way to do this?
Hey @Odrec ,
Thanks for sharing this question! Yes, you can customize your hamburger menu – please check out our doc on this
Odrec
March 1, 2024, 2:26pm
3
Hi @Caroline
Thanks for the quick answer. I am aware of the docs on how to configure the Menu but I’m not sure how to change it to show only the Theme options. According to the documentation, I need to set it to minimal and then add the options I want as a dictionary. But how do I add ability to change Themes with a dictionary?
Hey @Odrec ,
Unfortunately, I don’t think we have a config setting that will offer only the theme selection option.
“viewer” shows the following (it includes theming but also a few other options):
“minimal” shows nothing, with the idea that you can add your own custom options via st.set_page_config .
The custom options are:
“Get help”: str or None
The URL this menu item should point to. If None, hides this menu item.
“Report a Bug”: str or None
The URL this menu item should point to. If None, hides this menu item.
“About”: str or None
A markdown string to show in the About dialog. If None, only shows Streamlit’s default About text.
Please feel free to add this as a feature request in our GitHub Issues .
1 Like
Odrec
March 4, 2024, 7:10am
5
Ok, I opened an issue. Please vote whoever wants this
opened 02:56PM - 01 Mar 24 UTC
type:enhancement
feature:hamburger-menu
### Checklist
- [X] I have searched the [existing issues](https://github.com/st… reamlit/streamlit/issues) for similar feature requests.
- [X] I added a descriptive title and summary to this issue.
### Summary
I have a situation where I don't need any of the options of the 3-dot Menu because they are distracting or not useful in a production environment except for the Themes. But there's no easy way to take out options and let others stay. It would be pretty useful if we could activate or deactivate the provided options as needed.
### Why?
_No response_
### How?
_No response_
### Additional Context
_No response_
1 Like
system
Closed
March 6, 2024, 7:11am
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.