GeneratePress

We find Max Mega Menu works well with GeneratePress “out of the box”. However, if you are experiencing issues with residual styling, please follow the steps below.

Fix Residual Theme Styling

First create and activate a Child Theme.

In the child theme functions.php file, add the following:

The code above will remove the ‘main-navigation’ class from the element that wraps the menu. Removing this class may remove the background color from your menu row (depending on how you have set up the theme). To restore the background color, go to Appearance > Customize > Additional CSS and add the following:

 

Related Articles