Peter6528 Peter6528 - 1 year ago 94
CSS Question

CSS How to add content under fixed position navbar

I have a fixed position navigation bar.
The height the navbar is 50px

I want to put some text under the navbar, but I don't know how.

Answer Source

Add this line in your css flie:

body { padding-top: 50px; }


.some-text { padding-top: 50px; }
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download