WordPress provides you with numerous ways to enhance the visual appeal of an interface. There are numerous pre-built, attractive themes that you can use to build a website. These templates have eye-catching imagery and typographic elements. However, if you want to add some elements like small icons, then you will need to get them from an external source. In this post, we will discuss the method to add icon fonts to WordPress websites. These elements will be helpful for all kinds of users and will add visual energy to their interfaces. Let’s see how you can easily integrate these attractive items into your website.
What Are Icon Fonts?
Icon fonts are typographic elements which instead of letters or numbers contain symbols and glyphs. As they are vectors, they can be easily scaled up or down according to a user’s preference. They can be easily styled with CSS just like text elements are modified. It is also easy to change their color or add effects like shadows. Icon fonts can help add color and zing to a plain layout without overloading the website.
Why Should You Use Icon Fonts?
You should use icon fonts because they have a positive impact on the aesthetic appeal of a page. Since the font items are vector, they are rendered perfectly in even high pixel-density displays. Moreover, they can be resized quickly without needing any software like Photoshop. Their styling can be modified with CSS meaning that effects can be added easily to the items.
How To Add Icon Fonts To A WordPress Website?
Did you just convert an HTML site to WordPress and are looking for a simple way to add icon fonts. Then this tutorial is meant for you. While the file size of these items is low, if you download a full bundle, it can slow down your website. The best way is to download only those icons which you require. In this guide, we are explaining the process of acquiring the elements from a third-party service and then installing them on a website. We are showing the addition of the icons and their use one a Themify theme. The process will be similar if any other template is installed on your website. Let’s now see how you can add icon fonts to WordPress websites.
1. Download The Icon Fonts From A Service
There are various places to get icon fonts for a WordPress interface. Arguably the most popular and widely-used source is Font Awesome. IcoMoon is another service which provides a wide range of attractive elements. In this tutorial, we will be downloading the fonts from Fontello which is an icon fonts generator. Here, you can find a huge collection of font icons provided by various developers. Visit its website and on the homepage itself, you will see the items categorized according to their creators, under the Select Icons tab. Scroll down to see all the designs and click on the symbols you want to select. Once you have made the selection, move to the top of the page. In the top right-hand corner, there is a button named Download Webfont. The total number of elements that you have selected will be displayed alongside the message in the button. Click on it to download all the icons in a single zip file.
2. Upload The Font File
We will now upload the font file that we have downloaded in the previous step, on our website. Access the admin dashboard of your WordPress installation. Locate the Theme option in the menu on the left-hand side. We are using a Themify theme and we will access its settings as shown in the image given below. Then we will go to the Custom Icon Font screen and click on the Browse Library option. Now, we will select the zip file and hit the Save tab. Our fonts will now be uploaded to the theme.
3. Use The Icons
The symbols that you downloaded in the first step are now installed on your website. You can use it to alter the look of your layout. Open your page builder or any other similar tool and you will see the Fontello option displayed wherever there is a provision for inserting icons. Simply select the symbols that you want and then insert them in the desired location.
This is a simple process for integrating font icons on your WordPress website. However, a large number of icons can bloat your website. The best way will be to outsource WordPress development work to professionals who will do the job efficiently.