ResolvedMega offbeat menu

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30878
    richo
    Participant

    Hello,
    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/cr1T2UqNlH

    Thanks for your answers

    #30888
    Althemist
    Keymaster

    Hello 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.

    #30891
    richo
    Participant

    Thank 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() ?

    #30898
    Althemist
    Keymaster

    Yes, that’s the function name – defineMegaMenuSizing in rigid-front.js

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register