Add Custom Icons to Elementor Nav Menus (No Paid Plugins!)
Using this method, you can add your own custom icons to your Elementor navigation menus. You may have seen other methods or workarounds that let you embed Elementor or Font Awesome icons into menus, or plugins that will do the job for you, but this is a simple solution that lets you use any image you like as your icon, control which devices it appears on and all without having to install any Paid Add-Ons plugins.
This feature requires the Advanced Custom Fields plugin to work.
Adding fields to Menu Items
Using Advanced Custom Fields to add a field item to the menu.
- Field Type: Image
- Return Format: Image URL
- Library: All
Editing fields
Navigating to the Appearance > Menus admin page.
Displaying fields with FUNCTIONS.PHP in Code block
// [php] Adding Icon fields to Menu Items
title .= '
';
}
}
// return icon to the menu widget
return $items;
}
?>