Folium Map not able to increase the width

Hi all,

I’ve used a st.set_page_config(layout=" centered") and tried to increase the width of the folium map display. I tried adding CSS to make it wider, but that also didn’t work.
This is the same with other plots as well. Since I’ve used st.set_page_config(layout=" centered"), everything is centered and I’m unable to customize it.

elif option == 'Folium Map':
    # Define the header HTML
    st.markdown('<h1 style="text-align: center; background-color: white; color: black;">We\'re across the World!</h1>', unsafe_allow_html=True)

    # Display the map
    folium_static(plotly_map())

Any suggestions?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.