Tagged: x
-
AuthorPosts
-
May 7, 2016 at 10:43 am #980227
addwirecomParticipantHi, I’ve been searching everything, and so far it’s been fruitful. However this i’m wondering about. In the Mega Menu’s that’s I’m adding, I want to reduce the space between each child option, as seen in the screen shot.
vapor-workz.com
What Can I add in the CSS to redice the amount of space between each option?
May 7, 2016 at 12:36 pm #980285
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.desktop .x-nav .x-megamenu>.sub-menu>li>.sub-menu>li>a { padding-top: 2px; padding-bottom: 2px; }Hope it helps 🙂
May 7, 2016 at 5:02 pm #980394
addwirecomParticipantThanks, it did. It’s hard to find which is the best selector.
I noticed that the hover isnt’ functioning,
Can you tell me the css to change the color of the hover of these child menu’s, lets say the color: rgb(175,33,43) for example.
Thanks!
May 8, 2016 at 12:58 am #980737
RadModeratorHi there,
Sure, you can add something like this,
.desktop .x-nav .x-megamenu>.sub-menu>li>.sub-menu>li>a:hover { color: rgb(175,33,43); }Or if you wish to change the entire sub menu items color upon hover of the parent, then this should do it too
.desktop .x-nav .x-megamenu>.sub-menu>li:hover>.sub-menu>li>a { color: rgb(175,33,43); }Cheers!
May 8, 2016 at 12:50 pm #981210
addwirecomParticipantThanks, the CSS did not work. However, what worked was:
.navmegch > a > span:hover { color: rgb(175,33,43); }Thanks!
May 8, 2016 at 6:38 pm #981401
RadModeratorGlad to hear that 🙂 Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-980227 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
