-
AuthorPosts
-
March 8, 2015 at 11:59 pm #223035
joanosgoodbyParticipantHow to I make disable the “active link” hover color in the nav bar?
THANKS 🙂
March 9, 2015 at 3:43 am #223192
ChristopherModeratorHi there,
Please add the following CSS under Customize -> Custom -> CSS :
.x-navbar .desktop .x-nav > .current-menu-item > a { background-color: transparent; color: white; }Hope it helps.
March 9, 2015 at 11:45 am #223558
joanosgoodbyParticipantThank you very much. I tried the custom css code, but unfortunately, it did not do the trick.
What I’d like to accomplish is to have no effect on the ACTIVE link. If you go here:
http://wp2.monmouthrubber.com/you will notice the avtive link in the main menue (the home page) has a white background because that is the active page. I’d like the white background on hover only, and want the active link to look like all the others.
I also have this code below in CSS, so not sure if it may be conflicting with the code you suggested above.
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
box-shadow: inset 0 4px 0 0 #ffffff;
background: #ffffff;
}March 9, 2015 at 2:15 pm #223654
NicoModeratorHi There,
Would you mind sharing us your url and admin credentials so we could check on a closer look.
Thank you so much. Don’t forget to set it as private reply.
Cheers!
March 9, 2015 at 2:16 pm #223655
joanosgoodbyParticipantThis reply has been marked as private.March 9, 2015 at 4:47 pm #223756
NicoModeratorHi There,
We updated your customizer with this:
.x-navbar .desktop .x-nav > .current-menu-item > a{ background:none; box-shadow: none; }Let us know if you need anything else.
Cheers!
March 9, 2015 at 7:09 pm #223824
joanosgoodbyParticipantI notice the active link stays red – can it remain white and only turn red on mouse hover, but stay white on active?
March 9, 2015 at 7:10 pm #223825
joanosgoodbyParticipantNevermind – figured it out 🙂 THANKS!
March 9, 2015 at 7:10 pm #223826
joanosgoodbyParticipantadded
color: #ffffff;
to your code above and that did the trick
March 9, 2015 at 10:29 pm #223918
FriechModeratorGlad you sorted things out, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-223035 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
