CabCon CabCon - 1 year ago 53
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:

Here is the bootstrap code:

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


Answer Source

Remove this:

     padding-top: 70px;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download