I used the below code, but I cannot change the SideBar color to blue.
def add_custom_css():
st.markdown(
"""
<style>
/* Change the background color of the sidebar */
.sidebar .sidebar-content {
background-color: #31333F;
}
/* Change the text color of the sidebar */
.sidebar .sidebar-content {
color: blue;
}
</style>
""",
unsafe_allow_html=True
)
# Call the functions to apply the customizations
add_custom_css()