Hi
How can I achieve this on main menu on desktop bottom header?
This topic has 9 replies, 3 voices, and was last updated 4 years, 8 months ago ago by Olga Barlow
Hi,
Try to add the next code in Theme Options > Theme Custom CSS:
.et_b_header-menu .menu li {
min-width: 165px;
}
Regards
Hi
But its not responsive. When you reduce the size of window, the submenu overlaps with main menu and does not work.
I mean I want it to be functional at any resolution above 992px…
But for example, try to open sub menu of HOME at the resolution of 1000px, you will not be able to click on its submenu.
Delete the previous code.
Add the next one in Custom CSS for desktop area:
.et_b_header-menu > .menu-main-container, .et_b_header-menu > .menu-main-container > ul {
width: 100%;
}
.et_b_header-menu > .menu-main-container > ul {
justify-content: space-around;
}
.et_b_header-menu > .menu-main-container > ul > li {
flex: 1;
}
.et_b_header-menu > .menu-main-container > ul > li > a {
white-space: nowrap;
}
Regards
Change alignment of elements https://prnt.sc/uor8qz https://prnt.sc/uor8yt , margin you can add here – https://prnt.sc/uor9ke
Regards
Actually I have already tried all the settings of margin, padding and alignment (whole row as well as separate blocks). The current setting is the best possible setting to keep all the elements visible till 1150 px..
below 1150 to 992 px, its not working… so I just thought there might be some solution by adding CSS code… as how you did for bottom header.
Hello,
Alignments of the elements in top, main and bottom areas are different, so there is no CSS solution to add the same space for all the devices, it will change depending on the device width. Try to add the padding-right and padding-left 4% for the top header. It won’t be perfect but very close to what you want.
Regards
The issue related to '‘Main Menu Navigation Links’' has been successfully resolved, and the topic is now closed for further responses