Issues with :hover on certain menu items
I'm trying to use the :hover feature on my menu, but I don't want it in use on the current page menu button. I've done this in the past with no issues, but now it isn't working. I've pasted both my html and css code below. Maybe I'm just missing something really obvious.
html:
<div class="topnav" id="myTopnav">
<a href="home.html" class="active first">Home</a>
<a href="details.html">Details</a>
<a href="story.html">Story</a>
<a href="rsvp.html">RSVP</a>
<a href="party.html">Wedding Party</a>
<a href="photos.html" class="menu_item">Photos</a>
</div>
css:
.topnav {
background-color: #07304c;
top: 0;
left: 0;
width: 100%;
position: fixed;
z-index: 100;
}
.topnav a {
display: block;
float: left;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-family: "cormorant-garamond", "serif";
font-size: 19px;
}
.topnav a:hover {
background-color: #ddd;
color: #07304c;
}
.topnav .active a:hover {
background-color: #38596F;
color: white;
}
.active {
background-color: #38596F;
color: white;
}
.topnav .icon {
display: none;
}
.first {
margin-left: 30%;
}
