Use Native MyListing Icons
- Theme Options > Shortcodes > Icon
- Find your desired icon and copy the shortcode.
- Edit a menu item.
- To the left or right of the menu item name, paste in the icon’s shortcode copied above.
Use Custom Icons
- Download the desired icons.
- Upload the icons to the WordPress Media Library.
- Edit an icon and copy its link address.
- Edit a menu item.
- To the left or right of the menu item name, paste the link address that was copied above.
.main-nav li a>i {
display: inline-block;
}
.main-nav li.current-menu-item a > i {
color: #000 !important;
}Example: Add Icon to Home Page Menu Item
WordPress Dashboard > Appearance > Menus > Home Page Menu Item
<img decoding="async" src="https://domain.com/wp-content/uploads/icon-file-name.svg"> Home