Dazzling: Current version
WP: 4.1.1
Site: curlyafrodotcom
Hi Aigars,
Again, this is an amazing theme and I thank you from the bottom of my heart.
I have tried to change the box-highlight (in the navigation menu) for the active page (i.e. demo would be green box highlighting homepage) to just “underlining” the highlighted active page. Is this at all possible? I tried the following, to no avail:
Add this CSS code to Appearance >> Theme Options >> Other >> Custom CSS. It will get rid of dark brown background for active menu items that you have now and will add replace it with a simple underline. It will also add underline on hover for items.
.navbar-default .navbar-nav .active a, .navbar-default .navbar-nav .active a:hover, .navbar-default .navbar-nav .active a:focus, .navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus, .navbar-default .navbar-nav .open a, .navbar-default .navbar-nav .open a:hover, .navbar-default .navbar-nav .open a:focus, .dropdown-menu li a:hover, .dropdown-menu li a:focus, .navbar-default .navbar-nav .open .dropdown-menu li a:hover, .navbar-default .navbar-nav .open .dropdown-menu li a:focus, .dropdown-menu .active a, .navbar-default .navbar-nav .open .dropdown-menu .active a {
text-decoration: underline;
background: transparent;
}
I was able to remove the block highlight, but I wanted to know if the underline could look more like this: people.com
(the active “home” page has an underline by the lower border of the navigation bar) I would want my underline to still be the same as the element colour and the text for the highlighted item to be the same as the underline (i.e. brown). All of the other menu items remain the same (i.e. white)