I am using Max Mega Menu plugin for my menu. Menu bar in my theme is not 100% width of the page, there is some space left for the logo.
So when I set 100% width of the dropdown panel, it's the same width like the menu itself, not 100% of the page. When I set 1170px as the width of the dropdown panel, it's top-left corner is where the menu item is, so half of it or more is outside of screen. And it depends on which menu item I open - the dropdown panel has position:absolute to the menu item which is relative.
I want it to be the same width as the page and independent from specific menu item.
I've tried:
display: block;
float: left;
or
margin-right: auto;
margin-left: auto;
but it does not work.
In the plugin documentation they are saying:
Enter a jQuery selector to synchronize the width and position of the sub menu with existing page element (e.g. body, #container, .page).
but I don't know how.
Any ideas?