Adjust Menu Width

By default the menu will fill 100% of the width dictated by your theme.

We advise against using the option below, instead you should adjust the width of the container that the menu sits inside. This would require editing/overriding your theme CSS.

To change the width of your menu you can add the following CSS to your menu theme by going to Mega Menu > Menu Themes > Custom CSS.

Make sure you use “max-width” and not “width” to ensure the menu remains responsive.

You will only be able to use the CSS above to make the menu narrower than the theme dictates. If you want to make your menu wider you will need to edit/override the theme CSS and increase the width of the container that the menu sits inside.

Before:

adjust-menu-width-before

After:

adjust-menu-width-after

Related Articles