Peter6528 Peter6528 - 8 months ago 45
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.


Add this line in your css flie:

body { padding-top: 50px; }


.some-text { padding-top: 50px; }