So, I’ve been using this code for a quite a bit to use for a fixed navigation bar:
HTML
[code]
[/code]CSS
.link {
text-decoration: none;
color: white;
}
.link:hover {
text-decoration: none;
color: gray;
}
#list {
list-style: none;
}
.header {
background: black;
width: 100%;
top: 0;
position: fixed;
left: 0;
right: 0;
}
.logo {
float: left;
font-family: "Helvetica";
font-size: 15px;
color: white;
margin-left: 20px;
}
.logo:hover {
color: gray;
cursor: pointer;
}
.nav {
float: right;
margin-top: 25px;
margin-right: 20px;
}
.nav-item {
float: left;
margin: 10px;
}
Now that I’ve added Bootstrap into it, the images and text seem to overlap into the header, but before I integrated Bootstrap, the navbar was a the top layer and all of the other content went under it. So my question is, how do I have the navbar layer on top of the content (This question pertains to the Portfolio in a sense that I’m trying to use this code to build the porfolio page). Thanks