This topic has 4 replies, 2 voices, and was last updated 4 years, 8 months ago ago by Rose Tyler
Hello 8theme,
I’m struggling to get the mega menu to span the full width of the page.
When I enter 100% in the 8theme page options of the menu item, I can save the box that comes up but I cannot save the menu – the save button just isn’t clickable.
I have increased the Max input vars of my host to 8000 and the issue is still there.
Can you take a look for me or advise how I can have the mega menu full width another way please?
Thanks
Rob
Hello,
There is no possibility to set 100% as you described. You need to use custom CSS code like this one –
.item-design-mega-menu {
position: static;
}
.header-top, .header-main, .header-bottom {
position: static;
}
.item-design-mega-menu .nav-sublist-dropdown {
left: 0 !important;
margin: 0 !important;
width: 100% !important;
}
.item-design-mega-menu .nav-sublist-dropdown:before {
content: '';
display: block;
position: absolute;
left: 0;
right: 0;
height: 40px;
bottom: 100%;
}
Regards
Hi Rose,
Lovely, that code works perfectly!
Thanks so much.
Rob
Hello,
You’re welcome!
Have a nice day.
Regards
You must be logged in to reply to this topic.Log in/Sign up