Font Awesome

Max Mega Menu supports both Font Awesome 4 and Font Awesome 5.

To add a Font Awesome icon to a menu item, open the Mega Menu settings for the menu item and click the ‘Menu Icon’ tab. You will see a list of available icon types listed across the top of the page. Select ‘Font Awesome’ then select the icon you would like to use.

FontAwesome selector admin screenshot

Font Awesome


If the icons are not appearing on the front end, go to Mega Menu > Tools and clear the CSS cache (you will only need to do this once).

Equal Width Icons

Font Awesome icons are output at varying widths depending on the icon chosen. When displaying icons next to menu items in a vertical list, the varying with of the icons can make the menu item text appear as if it is not lined up correctly. To set a fixed width on the icons, go to Mega Menu > Menu Themes > Custom Styling and add the following:

Dequeueing Styles

Max Mega Menu will automatically include the required Font Awesome CSS on your site. If your theme already uses Font Awesome, you can stop Max Mega Menu from outputting a duplicate copy of the CSS. Go to Mega Menu > General Settings and uncheck the relevant “Font Awesome” option:

Using Font Awesome 5 for your sub menu arrow indicators

Add the following to your child themes functions.php file:

After adding the code, go to Mega Menu > Tools and clear the CSS cache.

Using Font Awesome 5 Pro

Requires Max Mega Menu Pro v2.3+

You will need your own Font Awesome Pro subscription and you must use the official Font Awesome plugin with the following settings:

If you are hosting Font Awesome Pro 5 locally, add the following to your wp-config.php file instead:

After enabling Font Awesome 5 Pro using either of the above methods, go to Mega Menu > Tools and Clear the CSS Cache. This will update the font-family rules to reference Font Awesome 5 Pro.

Adding Font Awesome 5 Pro Icons to the picker

To add Pro icons to the picker, find the icon you want to add in the icon directory and copy the unicode and css class.

Add the following to your functions.php file, following the same format for your selected icons:

Your new icons will appear at the end of the list of Font Awesome 5 icons:

Like what you see? This functionality is available in Max Mega Menu Pro

Related Articles