St.text_input color takes color from secondarybackgroundcolor in config.toml

I want my st.text_input to have a color white background, but it takes color from the secondarybackground color, I’ve tried mixing it up already.

Hey not sure if this is the perfect fix for your problem but this is a component that we have used to get around some more fine grain styling issues.

https://arnaudmiribel.github.io/streamlit-extras/extras/stylable_container/

1 Like

I did not know that this existed! Great stuff.Seems that @andfanilo even made a video for it https://www.youtube.com/watch?v=AtRf_eRQZwQ

@Cristian_Dave alternatively, you can always try some direct css hacking and of course there is another Fanilo video for it :smiley: https://www.youtube.com/watch?v=OVgPJEMDkak&t=210s

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