Peter6528 Peter6528 - 6 months ago 41
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; }