Home › Forums › WoodMart support forum › after update to 6 version menu line high is too hight
after update to 6 version menu line high is too hight
- This topic has 14 replies, 4 voices, and was last updated 3 years, 6 months ago by Eric Watson.
-
AuthorPosts
-
May 20, 2021 at 7:56 am #293891
erboristeriaerbetueParticipantGood morning,
after update to version 6 my menu line high is too high. This was a problem that also previus version has and you have solved with this code.
body .menu-main-navigation-container .menu-mega-dropdown .sub-menu>li {
margin-bottom: 5px;
}
But now this code doesnt work anymore.
Can you give me new code that works with version 6?.
I have sent to you two images. The right one is about production site with till version 5, the wrong one is about staging site where I have update template to version 6.
Thank a lot in advice.Elisabetta
Attachments:
You must be logged in to view attached files.May 20, 2021 at 8:02 am #293899
Bogdan DonovanKeymasterHi,
Try to replace previous code with following one:
body .wd-nav-main .menu-mega-dropdown .sub-menu > li { margin-bottom: 5px; }
Kind Regards
May 20, 2021 at 11:23 am #293971
erboristeriaerbetueParticipantGood morning,
thank you for your answer.
The code you suggest works halfway. Menu voice doesn’t break but stay on the same line so menu looks misaligned. I have attach an image.
Thank a lot in advance for your solution.
ElisabettaAttachments:
You must be logged in to view attached files.May 20, 2021 at 11:31 am #293980
Bogdan DonovanKeymasterTry to replace previous code with following one:
body .wd-nav-main .menu-mega-dropdown .sub-menu > li { margin-bottom: 5px; min-width: 220px; max-width: 220px; }
Kind Regards
May 20, 2021 at 12:49 pm #294020
erboristeriaerbetueParticipantThanks you a lot, this one works fine.
ElisabettaMay 20, 2021 at 1:02 pm #294039
erboristeriaerbetueParticipantExcuse me I need another help,
font size is too large into the menu, I suppose it is 14px, How can I reduce it to 12px?
Thanks for your solutionMay 20, 2021 at 1:22 pm #294063
Bogdan DonovanKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings.
body .wd-nav-main .menu-mega-dropdown .sub-menu > li > a { font-size: 12px; font-weight: 400; }
Kind Regards
May 20, 2021 at 1:38 pm #294074
erboristeriaerbetueParticipantthanks a lot, its works!
Fantastic support!
May 20, 2021 at 1:43 pm #294075
Bogdan DonovanKeymasterYou are welcome!
May 21, 2021 at 3:08 pm #294444
erboristeriaerbetueParticipantGood afternoon,
the problem to solve is always about menu lines. The menu lines are very far apart, is it possible to bring them closer and leave less white space between one line and another?
thanks a lot in advance
ElisabettaMay 22, 2021 at 9:09 am #294622
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.wd-nav-main .wd-sub-menu li a { padding-top: 3px; padding-bottom: 3px; }
This code reduces this gap: https://prnt.sc/139af3x
You can change 3 into less or more value.
Best Regards
May 24, 2021 at 6:43 am #294899
erboristeriaerbetueParticipantGood morning,
I need to decrease space between menu lines like show in the attached image. The code that you have send doesn’t solve the problem.
Thanks in advance.
ElisabettaAttachments:
You must be logged in to view attached files.May 24, 2021 at 7:58 am #294929
Bogdan DonovanKeymasterHi,
1. Try to use following code to change dropdown frame paddings on all sides (https://prnt.sc/13c7e8f). You can change any value in this code to the desired one.
body .wd-dropdown-menu.wd-design-sized, body .wd-nav-vertical .wd-dropdown-menu.wd-design-full-width { padding-top: 25px; padding-left: 20px; padding-right: 20px; padding-bottom: 10px; }
2. Try to use the following code to change vertical spacing between dropdown menu items (http://prntscr.com/13c7rea). You can change any value in this code to the desired one.
body .wd-nav-main .wd-sub-menu li a { padding-top: 5px; padding-bottom: 5px; }
Code for menu item spacing is the same from the previous reply. This code is correct and should work properly. If you add it to your Custom CSS area and nothing changed, please leave it on your site and provide us with admin access, so we can login and check why it is not working.
Kind Regards
May 24, 2021 at 12:49 pm #295007
erboristeriaerbetueParticipantThanks a lot, now it works fine
May 25, 2021 at 7:10 am #295183
Eric WatsonParticipantYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register