Categories

Featured templates

WordPress. How to replace FontAwesome icons with images

Elina Webb November 1, 2014
Rating: 5.0/5. From 1 vote.
Please wait...

This video tutorial will show you how to replace FontAwesome icons with images.

WordPress. How to replace FontAwesome icons with images

  1. Log into your WordPress Admin Panel:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-1

  2. Go to Media, click ‘Add New’ to add your image:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-2

  3. Upload your image, then click ‘edit’ to get the direct link to this image:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-3

  4. Copy this direct link to the image:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-4

  5. Inspect the icon that you want to change with Firebug (you can check the tutorial on how to use firebug), you will see the code for it, for example:

    .icon-star:before {
    content: "";
    }

    Wordpress_How_to_change_an_iconic_icon_with_an_image-5

  6. Edit that code using this rule:

    .icon-star:before {
    content: url("http://template-test.com/elina/wordpress/wp-content/uploads/2014/09/icons_star1.gif") !important;} 

    where "http://template-test.com/elina/wordpress/wp-content/uploads/2014/09/icons_star1.gif" is the link to your image and !important command to overwrite the old code. Then copy this code:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-6

  7. From Admin panel, go to Appearance -> Editor. Open ‘style.css’ file of the current theme. Then paste the code from step 6 to the bottom of this ‘style.css’ file. Click Update File":

    Wordpress_How_to_change_an_iconic_icon_with_an_image-7

  8. Refresh your website to see the new image that you have replaced:

    Wordpress_How_to_change_an_iconic_icon_with_an_image-8

Feel free to check the detailed video tutorial below:

WordPress. How to replace FontAwesome icons with images

Premium Wordpress Responsive Themes
This entry was posted in WordPress Tutorials and tagged font, icon, iconic, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket