I've been attempting to alter the color of the text in my .blou class to white within my navigation menu in WordPress, but for some reason, the color isn't changing. This issue is occurring with the WordPress theme I am using.
.nav-menu ul li a {
color: #222;
padding: 10px 15px;
font-size: 15px;
display: block;
font-weight: 600;
}
.nav-menu ul li a:hover {
background-color: #000F3A;
color:white;
}
After that, I added this:
.nav-menu ul li.blou1 {
background-color: #000F3A;
color:white!important;
}
The background changes as expected, but the text color remains unchanged. Any assistance would be greatly appreciated.
My Menu Contains:
Home|Gallery|Contact|About|Members|Login(.blou1 class)|Register(.blou1 class)
Additionally, when hovering over the blou1 class, I would like the background to revert and the text color to change to black or another color.