Tagged: x
-
AuthorPosts
-
April 13, 2016 at 1:53 pm #880614
Michael RParticipantHello,
I am currently using the code below to customize my renew navigational menu items on hover and for active selections. Is there a CSS I can use to only modify the nav items that are not active and not hovered? Basically I want to add opacity to the nav items unless they are active or on hover.
Thank you!
Here is what I currently have in my CSS customizer for hover and active:
.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: none;
background-color: #f3f3f3;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}April 13, 2016 at 1:54 pm #880615
Michael RParticipantThis reply has been marked as private.April 13, 2016 at 11:17 pm #881391
LelyModeratorHi Michael,
Please also add this CSS:
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) { opacity: .5; /*Adjust to you preferred opacity*/ }Then update this:
/* Navbar active and hover background color */ .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: none; background-color: #f3f3f3; }To this:
/* Navbar active and hover background color */ .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: none; background-color: #f3f3f3; opacity: 1; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-880614 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
