This is about Bulma.
It is a question.
This is about the Bulma CSS framework
I'm using Bulma version 0.7.4
My browser is: Chrome and Firefox
I have looked though all the nav bar issues but have not been able to see this issue addressed in them.
I have a standard nav bar with the burger menu. This is taken straight from the docs website.
I have managed to activate and deactivate the menu by clicking the burger menu. This is fairly straight forward.
My issue is that when the burger menu activates, it pushes the content out of the way. I would like it to float over the content.
Is there a simple Bulma idiomatic way to make this happen?
I would like the nav bar burger menu to float over the subsequent content.
The burger menu does not float over the subsequent content but pushes it out of the way.
could you link to your page, or make a pen?
Not currently. You could add .is-fixed-top to the navbar to make it work, but the tradeoff is that your navbar will always be visible at the top even when scrolling down.
If you don't want that you'd have to write the css yourself, namely adding position: fixed; top: $navbar-height (or 3.25rem); right: 0; to .navbar-menu on the correct breakpoints.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
So Nice! Thnks!
Most helpful comment
I think this works:
.navbar-menu.is-active { position: absolute; width: 100%; }Checkout this pen.