Hi, I was wondering if I can use a custom font instead of the predefined three in the Edit Theme menu in setting? There I only see three options in the font family menu: sans serif, serif and monospace.
I have some tff font files I downloaded and I would like to use them instead.
I am new to streamlit and not that experienced with css. I would appreciate some examples and references.
I see that it is possible to override using st.markdown as given here . and this guide
Hey Randy, can you tell how to use fonts from font files like ttf file or woff file? I see that you have provided the url to the font but that sometime doesn’t work if the url is changed or removed. Please let me know.
Thanks.
Thanks, Randy. For some reason when I use this code, the font size changes, but the font family itself doesn’t change. Do you know what might be going on?