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

navbar-fixed-top is breaking the layout #110

Open
bruno-lombardi opened this issue May 22, 2017 · 1 comment
Open

navbar-fixed-top is breaking the layout #110

bruno-lombardi opened this issue May 22, 2017 · 1 comment

Comments

@bruno-lombardi
Copy link

Hello, I'm a new user to bootflat. And I like it really much. But, when using navbar-fixed-top the page layout breaks, because the margins don't work, and all below content gets behind the navbar. Look at the page without the navbar-fixed-top class in the nav element:
http://prntscr.com/fakwmk
But when I add navbar-fixed-top to my nav element, this is what I get:
http://prntscr.com/faky7q

I already did a lot of testing on this, using the bootstrap templates, and the error persists. I think the error is not in my code. Take a look at my index.php file (I'm training PHP, yes).

index.php.zip

@bruno-lombardi
Copy link
Author

It looks like adding a div with style="clear: both" after the nav solved my problem. Although, maybe that's not the better solution for this.

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