Is there a way to remove or better yet, customize the " Made with Streamlit" comment at the bottom of the app pages?
Thanks.
Is there a way to remove or better yet, customize the " Made with Streamlit" comment at the bottom of the app pages?
Thanks.
There is a github issue currently for removing the hamburger menu.
Hamburger Menu:
The github issue.
I don’t see one for removing “made with streamlit”. I suggest making a github issue.
To hide hamburger (top right corner) and “Made with Streamlit” footer, do this :
hide_streamlit_style = """
<style>
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
Enjoy !!!
Thanks It really helps!!!
Is there way to actually edit the footer note?
Yes check this work around
footer {
visibility: hidden;
}
footer:after {
content:'goodbye';
visibility: visible;
display: block;
position: relative;
#background-color: red;
padding: 5px;
top: 2px;
}
It worked perfectly
Instead of goodbye
, I like to put a hyperlink text there. How can I do that?
Have you found a solution to add a link or email?
Hi, it is not diffcult to achieve it, just add some code like this
footer="
<style> your css code put here</style>
<div class='footer'>
<p>the word you want to tell<a style='display:block;text-align:center;'
href='https://www.streamlit.io' target='_blank'>your email address put here</a></p>
</div>"
st.markdown(footer, unsafe_allow_html=True)
Yes, I have. This is how I have configured the footer with photo and link: rafisics/suvat_calculator · GitHub
And the output is here: https://suvat-calculator.herokuapp.com/
#----------------------Hide Streamlit footer----------------------------
hide_st_style = “”"
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
header {visibility: hidden;}
“”"
st.markdown(hide_st_style, unsafe_allow_html=True)
#--------------------------------------------------------------------
That worked for me, thank you.
Is there a way to replace the “About” one from the hamburger icon?
You’re welcome.
If you meant to replace/remove the “About” section in the hamburger menu of the upper right corner, I am not sure.
Hi @rafisics,
Here’s an unofficial CSS hack you can use to hide the hamburger menu: How do I hide the hamburger menu from my app? - Streamlit Docs
Best,
Snehan
wow thanks bro!! great help!!
For anyone wanting to replace the “Made with Streamlit” with you own text…
html_string='''
<script>
// To break out of iframe and access the parent window
const streamlitDoc = window.parent.document;
// Make the replacement
document.addEventListener("DOMContentLoaded", function(event){
streamlitDoc.getElementsByTagName("footer")[0].innerHTML = "Provided by <a href='https://yourwebsite.com' target='_blank' class='css-z3au9t egzxvld2'>Your Link Display Text Here</a>";
});
</script>
'''
components.html(html_string)
For some reason above solutions for footer removal does not work for me
same here. not working for me. is this broken now?
Here is a better way to hide it all:
hide_streamlit_style = """
<style>
[data-testid="stToolbar"] {visibility: hidden !important;}
footer {visibility: hidden !important;}
</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.