Resize not working
Closed this issue · 2 comments
primalbet commented
I'm using bootstraps left navigation menu: https://startbootstrap.com/template-overviews/simple-sidebar/
The navbar pushes the page content to the right, and when I toggle collapse, the parallax background doesn't get updated (resized).
StrangerPings commented
It would be nice if it did, but because the parallax background has a fixed position so it will do that.
A solution would be to have the navbar slide in over the content, although that doesn't solve your issue it makes the rest of the page consistent when the menu is revealed. Also change the navbar to chnage width from 0 to 250px.
wstoettinger commented
please trigger a resize after the menu is collapsed like its stated in the readme:
$(window).trigger('resize').trigger('scroll');