Remove multi-color bar/reduce distance


Can anyone tell me which part of the code i need to delete to remove the rainbow bar at the top of the streamlit page? Also, I would like to adjust the distance between the top of the page and the top frame, where can I edit the distance?

Thanks in advance!

If you still need to remove the rainbow bar here’s the code:

You can do something like this:

hide_decoration_bar_style = '''
        header {visibility: hidden;}
st.markdown(hide_decoration_bar_style, unsafe_allow_html=True)

Thanks to @GokulNC on this thread.

1 Like