How do i hide/ remove the menu in production?

@Mani Your answer is partially correct. I just tried it but need to add the style tags.

hide_streamlit_style = """
<style>
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
</style>

"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True) 

This will hide the hamburger menu completely.

24 Likes