Menu options changing color on Hover
-
I am new to web development and trying to manipulate a template to look how I want it.
O have changed the menu background from White to Blue and changed the letter color from Dark Grey to White.
I have also added a line so that when I hover over a link in the menu that the letters of that link change from white to red. However, this works for the most part, although the home link changes colour when I hover over other links in the menu.
Below is the cde that has been used:
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
color: #fff;
}
.navbar-inverse:hover .navbar-nav:hover > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse:hover .navbar-nav:hover > .active > a:focus {
color: #f40000;
}Any help would be much appreciated
- The topic ‘Menu options changing color on Hover’ is closed to new replies.