How to get Menu Navigation Labels to output HTML

The “Navigation” field is not where you want to place your CSS class. The navigation is what the user will see in the menu, so don’t put any code there.

To enter a custom CSS class to your item, you need to do the following:

  • Click the “Screen Options” tab in the top right corner of the page.
  • Under “Show advanced menu properties”, tick the “CSS Classes” checkbox.
  • Now for every menu item, you have a field labelled “CSS Classes (optional)” where you can enter “icon-fixed-width icon-home”.

Job done! 🙂

Leave a Comment