I've been working on a website at
After scrolling down the site, a fixed navigation bar appears. However, on this fixed navigation bar, I'd like to hide the logo navigation while still keeping it visible on the regular top navigation bar.
https://i.sstatic.net/Hdtn5.png
This is the CSS code I'm currently using:
.nav>li>a>img {
max-width: none;
}
.menu-item a img {
border: none;
box-shadow: none;
vertical-align: middle;
width: auto;
display: inline;
}
I want the logo to be hidden on the black fixed nav but still displayed on the regular nav. Any suggestions on how to achieve this?
You can use Chrome's inspector tool to explore this issue further.