You can use the st.markdown function with the unsafe_allow_html=True parameter to include custom CSS in your app.
hide_streamlit_style = """
<style>
/* Hide the Streamlit header and menu */
header {visibility: hidden;}
/* Optionally, hide the footer */
.streamlit-footer {display: none;}
/* Hide your specific div class, replace class name with the one you identified */
.st-emotion-cache-uf99v8 {display: none;}
</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
Hope this helps!
Kind Regards,
Sahir Maharaj
Data Scientist | AI Engineer