I’ve already tried the command below for the title and I couldn’t. For the image, I just managed to center it by increasing the size so that it fills the entire page. Are there any arguments to st.title()
and st.image()
that allow me to center them?
I tried the code above, but it didn’t work.
title_alignment=
"""
<style>
#the-title {
text-align: center
}
</style>
"""
st.markdown(title_alignment, unsafe_allow_html=True)