I'm facing an issue with nesting. The header has an opacity of 0.75, and since the logo and mainNav are nested after the header, they also inherit that opacity. However, I require them to have an opacity of 1.
#header {
position: relative;
padding: 0;
margin: 0!important;
background-color: black !important;
opacity: 0.75;
}
#logo {
display: inline-block;
margin: 0;
float: left;
padding: 0;
}
#mainNav {
right: 250px;
position: absolute;
top: 79%;
height: 20px;
margin-top: -10px;
display: inline-block;
font-family: "Oswald";
}
You can check out the site here and see for yourself. (I attempted to add
opacity:1 !important ) but it didn't work.