Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Navbar changes when st.title added #54

Closed
Yoonseok-Park opened this issue Jan 19, 2024 · 1 comment
Closed

The Navbar changes when st.title added #54

Yoonseok-Park opened this issue Jan 19, 2024 · 1 comment

Comments

@Yoonseok-Park
Copy link

Yoonseok-Park commented Jan 19, 2024

Hi, thank you for your awesome work.

I'm trying to build my web app using Hydralit, but facing a little problem. I want to add title above navbar like code below.
But the navbar changes when I add st.title as you can see in the images. Is there any way I can add title and keep the original navbar?

from hydralit import HydraApp
import streamlit as st
from Front.first_tab import first_tab_generator
from Front.second_tab import second_tab_generator

if __name__ == '__main__':
    st.title('Bot Test')
    app = HydraApp(title='Hydra_test', favicon="📚")       

    app.add_app("First Tab", app=first_tab_generator())   
    app.add_app("Second Tab", app=second_tab_generator())   
    app.run()

Image with original Navbar
image

Navbar changes when I add st.title
image

Thanks in advance.

@Yoonseok-Park
Copy link
Author

I'm closing the issue as I found answer from this issue.
#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant