Home › Forums › WoodMart support forum › Mega menu spacing on sticky menu
Mega menu spacing on sticky menu
- This topic has 7 replies, 2 voices, and was last updated 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 10, 2025 at 7:30 pm #685626
Evann .AParticipantHi, i’ve been very confused for the past 30 min trying to figure out why a weird spacing appear on mega menu whenever the menu is on a “Sticky” state, the only i could see would be a setting a missed or something like this ? (normally the html block in the megamenu as -15% padding on top, maybe it get removed ?) but i’m very confused
September 10, 2025 at 7:33 pm #685627
Evann .AParticipanti can’t send a video but here’s 2 pictures and the link to test it out
Attachments:
You must be logged in to view attached files.September 11, 2025 at 9:05 am #685680
Aizaz Imtiaz AwanKeymasterHello,
Please add this code to the Theme Settings > Custom CSS > Custom CSS for desktop:
.whb-sticked .whb-general-header .wd-dropdown:not(.sub-sub-menu) { margin-top: 0px !important; }
Best Regards,
October 7, 2025 at 8:39 pm #689501
Evann .AParticipantHi there,
Sorry for the delay, but i just noticed an issue that i didn’t in the past.After adding the css, when the header is sticky, the menu button doesn’t work anymore, but it does when the button is not in a fixed position.
October 8, 2025 at 10:32 am #689559
Aizaz Imtiaz AwanKeymasterHello,
I have checked your site and the menu button is working fine and the mega menu spacing is not showing on the sticky header.
See Screenshot for clarification: https://postimg.cc/3WSGNY2n
If you have any questions feel free to contact us.
Best Regards,
October 8, 2025 at 11:34 am #689586
Evann .AParticipantHi,
My issue is that when the HTML block dropdown menu is open (And sticky, it works fined when fixed),
i am unable to click on any other button in my menu.i added a video below and a few screenshot.
it looks like a weird Z-index issue but i’m not sure-
This reply was modified 1 week, 1 day ago by
Evann .A.
Attachments:
You must be logged in to view attached files.October 8, 2025 at 11:57 am #689596
Evann .AParticipantThe video is too large, but i added a loom video link into extra information
The issue occurs only when the dropdown menu is open and the main menu is sticky (it works fine when the menu is fixed).
When a submenu is open, I’m unable to click on any other buttons in the navigation menu.
It seems like it might be related to a z-index conflict, but I’m not entirely sure (but it’s 100% related to the css).-
This reply was modified 1 week, 1 day ago by
Evann .A.
October 8, 2025 at 2:40 pm #689655
Aizaz Imtiaz AwanKeymasterHello,
Please try to remove the previous code and add the following one and check the issue.
.whb-sticked .whb-general-header { position: relative; z-index: 1100; /* moderate value — header stays interactive */ } .whb-sticked .whb-general-header .wd-dropdown:not(.sub-sub-menu) { margin-top: 0 !important; top: 100% !important; /* place dropdown directly under header */ transform: none !important; /* cancel any transform-based offsets */ } .whb-sticked .whb-general-header .wd-dropdown:not(.sub-sub-menu):after { height: 0 !important; pointer-events: none !important; /* allow clicks through this pseudo area */ display: block; }
Best Regards,
-
This reply was modified 1 week, 1 day ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register