Upload background image

Hi,
I tried to upload a background image in streamlit. Im using the latest version of streamlit and the code i written is below
import streamlit as st

import base64

page_be_image = f"“”

[data-testid="stAppViewContainer"]> .main{{ background-image: url("Image Location"); background-size: cover; background-position: top left; background-repeat: no-repeat; }} [data-testid="stHeader"]> div{{ background-color: rgba(0, 0, 0, 0); }}

“”"

st.markdown(page_be_image,unsafe_allow_html=True)

c


but stil the image didnt cover the header tab. @Rajeshwar_Singh_Jenw
@Hazrat_Bilal please help me on this

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