I recently added a Bootstrap menu to my website that I'm currently working on. I am curious about how to disable the hover background color for Bootstrap links. Here's the situation:
Below is an example of the menu I implemented:
Currently, when I hover over a menu item, the background color changes to blue:
What I really want is for nothing to happen when I hover over any item, meaning the background color should not change at all.
This is the snippet of CSS code I have been using:
.notif_link:hover{
background-color: inherit !important;
}
And here is the specific code line for one of the menu items I've included:
<li class="notif"><a class="notif_link" href="#"><span class="notif_content">hello</span></a></li>
My question is, where is the mistake in this approach? And how can I achieve what I'm looking for?
Appreciate any help in advance.