How to use full screen on streamlit? I am not asking how to widen it, but full page view

I want to be able to use the entire page that I view to be used.
I mean, in the area right below my URL address bar, I want my text to appear, BUT, streamlit has its own sections (or) container there, and also in left and right. Even after using it as wide screen, there is still some area that is un-usable.
Apologies if this a noob doubt, I am new to streamlit.

You can use css :

        # Custom CSS to remove padding
        st.markdown(
            """
            <style>
            .st-emotion-cache-1jicfl2 {
    width: 100%;
    padding: 6rem 1rem 10rem;
    min-width: auto;
    max-width: initial;
}
            """,
            unsafe_allow_html=True,
        )

You can adjust as you like it.
To find the part you want to custom, just right click, inspect and after try to change the number on the right, it’s your css :smiley:

2 Likes

Yes, It’s working. Thank You so much.

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