CabCon CabCon - 3 months ago 9
CSS Question

How to change Fixed to top Navigation to Static top without space?

I would like to use a static navbar with a header over it. My current website used fixed-top navbar, I changed the classes to static but now I have a space over my navbar: http://image.prntscr.com/image/f206622fba84476d9c2491f9f041fd4f.png

Here is the bootstrap code: http://www.file-upload.net/download-11827342/startbootstrap-bare-gh-pages_.rar.html

What cause this space? And how can I fix it?

Cheers,
CabCon

Answer

Remove this:

body 
{
     padding-top: 70px;
}
Comments