The subject, thank you.
You are likely looking for the sticky-top
bootstrap classname to accomplish this. You’ll need to include one of the bootstrap style sheets when you initialize your app.
On the following link, the sticky top is applied to the navigation bar. When you scroll down, the bar stays on the top of the screen.
Example of sticky top
Thank you for the teasers, everyone. The following worked for me:
dbc.Navbar(
html.Div([html.H3('hello world') for i in range(5)], id= 'fixed-div'),
sticky='top',
)
I mainly got inspired by issue #376.