Back to Top

How to Add Icons With Navigation Menus in WordPress

To Replace Navigation Text to Icon in Wordpress

WordPress is most popular blogging platform and nowadays, most of the websites uses icons instead only text for navigations.Here is the article to add icons with Navigation Menus in WordPress.

To use menu icons instead of text in the WordPress is somewhat tricky because to display an icon image, instead of the just plain caption is requires playing with a little bit of CSS. Reason to use navigation is we want to manage URL from admin panel of any icons.

For example, you want icon instead of text for a “Home” menu. you want social media icons in navigation bar rather than text.

So In this article, you’ll show how to do this in a few easy steps.

First of all, Open the WordPress admin panel then Go to the Menu and add class for a menu from admin panel see in below screen

Now, place the below line of code in a created class with background image you want to display instead of text.

That’s it. Now you are ready to use icon instead of text using the navigation in WordPress.Thank you for reading, good luck and let me know if you run into any problems & I’ll help as much as I can 🙂

Hope this post will helpful for you, waiting for your responses.Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How To Change Database PREFIX in WordPress

Posted on 6 years ago


How To use Store Procedure with PDO

Posted on 7 years ago


The Readers’ Poll – July 2013

Posted on 5 years ago


PHP Error Reporting Levels

Posted on 7 years ago