Add Icons to the Navigation Menu

Building better MyListing websites. One code snippet at a time.


The Add Icons to the Navigation Menu code snippet allows for more design capabilities within a MyListing website.

Make your navigation menu more eye-catching!


  1. Grab the code snippet.
  2. Follow the provided instructions.
  3. Save your changes.
					//// INSTRUCTIONS: 
//// Copy and paste the code snippet below into Theme Tools > Theme Options > Custom Code > CSS.

//// NOTES: Please find the detailed notes below, shown after the code snippet.

--------------------------- CODE SNIPPET IS BELOW THIS LINE --------------------------- 

.main-nav li a>i {
    display: inline-block;
.main-nav li.current-menu-item a > i {
    color: #000 !important;

--------------------------- CODE SNIPPET IS ABOVE THIS LINE --------------------------- 

Custom Icons
1. Download the desired PNG icons (Note: Choosing icons of color "white", is recommended)
2. Upload the icons to the WordPress Media Library
3. Edit an icon and copy its link address
4. Edit a menu item
5. To the left or right of the menu item name, paste the link address that was copied above

Example for adding an icon to the Home page:  
<img src="data:image/svg+xml,%3Csvg%20xmlns=''%20viewBox='0%200%200%200'%3E%3C/svg%3E" data-lazy-src=""><noscript><img src=""></noscript> Home

Native/Theme Icons
1. Theme Options > Shortcodes > Icon
2. Find your desired icon and copy the shortcode
3. Edit a menu item
4. To the left or right of the menu item name, paste in the icon's shortcode copied above

WooCommerce Subscriptions Ready

The latest version of the WooCommerce Subscriptions plugin is included (unlicensed) and once you have a Starter Site in hand, you can easily put in your own pricing, package features, graphics, etc.

Should you not wish to use WooCommerce Subscriptions, you can simply turn the Listing Subscription packages into standard MyListing packages in just a few clicks and be on your way.

  • Custom WooCommerce Endpoint Design
  • WooCoommerce Subscriptions Setup
  • Listing Subscription Packages
  • Listing Subscription Switching
  • Stripe Payment Gateway Plugin
  •  and more…

Note: The latest version of the WooCommerce Subscriptions plugin is included, but you need to purchase your own license or sign up for a qualifying MyListing Website Care plan if you wish to receive future plugin updates and support.

Premium Assets

Get licensed, premium plugins, valued at over $600 in the first year alone, making a Starter Site investment a no-brainer.

You will get licensed copies of all the plugins listed below, with the exception of the WooCommerce Subscriptions and WooCommerce Product Vendors, and the licenses are yours to keep, for as long as the plugins remain on your website.

  • Admin 2020 ($39)
  • Crocoblock Suite ($130)
  • Elementor Pro ($49)
  • Perfmatters ($25)
  • Permalink Manager Pro ($45)
  • SEOPress Pro ($39)
  • WooCommerce Product Vendors ($79) 
  • WooCommerce Subscriptions ($199)
  • WP Rocket ($49)