-
Are you running your app locally or is it deployed?
Locally -
If your app is deployed:
a. Is it deployed on Community Cloud or another hosting platform?
b. Share the link to the public deployed app.
No deployed yet -
Share the link to your app’s public GitHub repository (including a requirements file).
It is local now -
Share the full text of the error message (not a screenshot).
I want to customize the default sidebar collapsed and expand button from cross to something else and also want to change its position from top left side to the center. Here is the basic code but I want exact code to change the position of sidebar collapsed and expand button
# Custom CSS for changing the sidebar color
custom_css = """
<style>
[data-testid=stSidebar] {
background-color: #0084FF !important;
}
</style>
"""
# Apply custom CSS
st.markdown(custom_css, unsafe_allow_html=True)
# Streamlit app content, including the sidebar
with st.sidebar:
pass
Here is the screenshot
Kindly share the solution how shall I customize the sidebar button to close and open.
5. Share the Streamlit and Python versions.
Python version is 3.10 and Streamlit version is 1.28.2