Mega-menu drop down centering

Hello,

So i’m able to get my dropdown centered by using the following css code:

.x-dropdown{
left:0!important;
right:0!important;
margin-left:auto;
margin-right:auto;
}

I just can’t figure out why I can’t do this without the custom css. Are these options not available in the GUI? Just wondering if you can help me understand where they would be or why it can’t be?

Thanks

Also, noticed the mega menu modal is centered by default - and mega menu dropdown is not . What is the difference between these two? I’ve read the descriptions here: https://theme.co/docs/mega-menu#mega-menu-dropdown but I still don’t really understand the difference.

Is it just a modal will appear on top of the page and the drop down would move the contents already within the page? (Causing potential CLS issues?)

Hi @fxground,

The Mega Menu Dropdown element does not have any Modal and it opens exactly below the Toggle.

Thanks

Thanks, noticed there are some other differences … like the mega menu drop down can’t open on hover, but the modal one can … is there a way to make the dropdown one open on hover?

Hi @fxground,

Unfortunately, there is no such option to open the Modal on mouse hover. Still, I would suggest you go through the following thread which may help you on this.


Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.