My navigation bar is covering up my content. I've tried adding padding-top and ensuring that the custom.css file loads after the bootstrap css, but it's still not working. In my Django project, I'm certain that the custom.css file is being loaded because the background color is showing up correctly. Initially, I had placed the navbar in the body
, but moved it to the head
section thinking that padding-top might affect it there too. Could someone please assist me in getting it to work? Below is the code:
base.html
body {
background-color: #242627;
padding-top: 100px;
}
a { color: inherit; }