ResolvedMega offbeat menu
Tagged: mega menu
- This topic has 3 replies, 2 voices, and was last updated 1 year, 11 months ago by
Althemist.
- AuthorPosts
- June 25, 2021 at 5:29 pm #30878
richo
ParticipantHello,
I don’t understand why my mega menu is out of place on the site.
How to center it on the page?
Why is there :
element.style {
margin-left: -514.453px;
}
in the code, how this one is calculated?
-> http://somup.com/cr1T2UqNlHThanks for your answers
June 26, 2021 at 2:32 pm #30888Althemist
KeymasterHello richo,
The mega menu position is calculated on the fly by JS function based on the mega menu width and position of it’s parent menu item. It looks like you heavily modified the menu layout to a design that wasn’t meant to be used with the theme, so it’s going outside the visible area. You just can’t have menu left/logo center/menu right with this theme.
June 27, 2021 at 2:47 pm #30891richo
ParticipantThank you for your feedback.
Can you please tell me the name of the function and where to find it so that I can modify it.defineMegaMenuSizing() ?
June 28, 2021 at 5:31 pm #30898Althemist
KeymasterYes, that’s the function name – defineMegaMenuSizing in rigid-front.js
- AuthorPosts
You must be logged in and have valid license to reply to this topic.