How to create a fixed header?

How can I create something like a fixed header?

Hi, you can try this:

def header(content):
     st.markdown(f'<p style="background-color:#0066cc;color:#33ff33;font-size:24px;border-radius:2%;">{cont}</p>', unsafe_allow_html=True)
header(the content you want to show)

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