Tagged: x
-
AuthorPosts
-
August 6, 2016 at 3:17 am #1119937
AndreiParticipantHi guys,
How can I hide the line above the parent menu, when I hover over a sub menu, in the header? I attached an image.
Thank you!
August 6, 2016 at 3:21 am #1119941
AndreiParticipantAlso I would like to hover the hole box in the footer menu and in the sub menu, as the top menu is.
My website is //sinestezic.com
August 6, 2016 at 4:47 am #1120030
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
.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 !important; } ul#menu-footer-menu li a:hover { background-color: rgba(0,0,0, 0.25) !important; }Hope that helps.
August 6, 2016 at 7:25 am #1120133
AndreiParticipantThank you Christopher for your reply. The first code worke like charm, unfortunately the second one doesn’t work.
August 6, 2016 at 8:49 am #1120167
ThaiModeratorHi There,
Please delete this CSS:
ul#menu-footer-menu li a:hover { background-color: rgba(0,0,0, 0.25) !important; }And the following CSS instead:
#menu-footer-menu li { top: 0; } #menu-footer-menu li a { height: 29px; display: block; line-height: 29px; }Hope it helps ๐
August 6, 2016 at 11:03 am #1120249
AndreiParticipantYes, it works great for the footer menu. It doesn’t work for the sub menu in the top menu.
August 7, 2016 at 12:56 am #1120648
ChristopherModeratorHi there,
Please find this code :
.x-navbar .desktop .sub-menu a:hover { box-shadow: inset 0px 4px 0px 0px rgba(255,255,255,0.95) !important; }And update it to :
.x-navbar .desktop .sub-menu a:hover { box-shadow: 0px 4px 0px 0px rgba(255,255,255,0.95) !important; background-color: rgba(0,0,0, 0.25) !important; }Hope it helps.
August 8, 2016 at 4:35 am #1121850
AndreiParticipantHey Christopher,
Thank you very much for your reply. This is how it looks like. Can we bring the white line down, where the red line is, at the bottom of the box? Thank you again.
August 8, 2016 at 5:45 am #1121920
ChristopherModeratorHi there,
Please follow my previous replay to display box shadow under the submenu items.
Thanks.
August 8, 2016 at 6:10 am #1121950
AndreiParticipantHi Christopher,
I did follow your previous reply and this is what I get (in the attached image). It adds another bacground over the previous background but the line doesnศt move at the bottom.
August 8, 2016 at 7:47 am #1122028
JoaoModeratorHi There,
Please add the following code to Appereance Customizer Custom CSS
@media (min-width: 1200px) { .x-navbar .sub-menu { bottom: 0; }}Hope it helps
Joao
August 8, 2016 at 1:31 pm #1122531
AndreiParticipantHi Joao,
I tried it and it doesn’t work. You can see what I get in the attached image.
August 8, 2016 at 2:05 pm #1122594
JoaoModeratorHi There,
Please add the following code to Appereance Customizer Custom CSS
.desktop .sub-menu { padding: 0; }Hope it helps, if that does not work please provide your Wp Admin Credential in a private reply so we can provide you a final answer ๐
Thanks
Joao
August 9, 2016 at 12:26 pm #1124070
AndreiParticipantThank you Christopher, I managed to solve the problem. Thank you for your great support.
August 9, 2016 at 1:00 pm #1124127
ThaiModeratorGlad you’ve sorted it out.
If you need anything else, please let us know ๐
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1119937 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
