WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Footer, Header / How to add icons to menu items

How to add icons to menu items

5566 views 0

Add font awesome icons independently

For this end result:

Follow the below steps.

Go to admin – menus – edit menu

 

Example of Navigation Label

For the spacing between icon menus we added a custom css solution (which may need to be adjusted to your number of icons

.menu>li:nth-last-of-type(-n+4) a,
.menu>li:nth-last-of-type(-n+4) a:hover{
padding-left: 5px!important;
padding-right: 0px!important;
margin-left:0px!important;
margin-right:0px!important;
}

Help article about how to add custom CSS

Add Font Awesome Icons next to menu text

Edit a footer menu item from Admin – Menus

Add the icon font awesome in the CSS CLASSES element.

You can find the CSS class for your icon on the Font Awesome homepage or by using the the cheatsheet. Each is prefixed by “fa-” to differentiate from any other common classes that may already be in use.

If you don’t see this element, Edit Screen Options from up right corner to enable it.

The CSS for the fontawesome icon may need a css to add spaces / font or something else. You can use this css to add custom elements.

.fa-comment:before {
padding-right: 5px;
}

And you replace “fa-comment” with your icon name.
Help article about how to add custom CSS
The result from this example:

FooterHeader

Related Articles

  • Confirm Account via Email
  • WPResidence Studio – Mega Menu Template
  • WPResidence Studio – Header & Footer Custom Templates
  • How to set Theme header and Media header (video tutorials and articles)
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 111 Installation & Changelog
  • 19Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 14Footer
  • 38Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 32Search & Filtering
  • 170Technical how to | Custom Code
  • 9Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Theme Translation & Localization
  • 28Third Party Plugins Compatible
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 9WPResidence Elementor Studio
  • 39WPResidence Elementor Widgets
  • 79WPResidence FAQ

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API