Menu-item alignment

Hi there

How can I central align the submenu of menu 13787 ?

Hey @bakrona,

The X Mega Menu will only span the Site Container Width and Max Width. If you need a custom mega menu submenu size, please consider using UberMenu.

What you need would require custom CSS and we could not provide that as part of theme support. Just to give you an idea, the CSS would look like the following:

li#menu-item-13787 .sub-menu{
    left: 50%;
    transform: translateX(-50%);

Please learn CSS to understand how it works so you can enhance it and use it for the rest of the parent menu. Learning the browser’s inspector will also be useful.

If you’ll experience problems with the code, please consult with a developer.

Hope that helps and thank you for understanding.

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