Removing entire header (running animation, main menu, decorator) and footer from static files

Hi everyone,

Does anyone know how to remove the entire header (running animation, stop button, main menu, decorator, etc.) and footer from static files (e.g., the “main… js” file)?

We know of the simple CSS markdown “hack”, but unfortunately when using that the header items and footer still show up when app loads for the first time (and we want them gone for good).

Thanks in advance!

I don’t believe there is a way to hide the menu and footer, other than with CSS, but you can remove most of the header (“running”, etc.) by setting this in .streamlit/config.toml:

hideTopBar = true

Thanks for sharing, will test this out right away.

Are there any other [ui] parameters that can be modified in .streamlit/config.toml? I noticed there are no [ui] examples in the Streamlit documentation:

Currently hideTopBar and hideSidebarNav (for hiding multipage app navigation) are the only ones streamlit/ at develop · streamlit/streamlit · GitHub