
- #Font awesome icon plus sign install
- #Font awesome icon plus sign manual
- #Font awesome icon plus sign code
- #Font awesome icon plus sign zip
If all the above tests indicate that Font Awesome is loaded well on your website, proceed to the other probable causes below.

#Font awesome icon plus sign code
Therefore, to check for version 6, use " fa-solid" in the JS code instead as below. In Font Awesome version 6, the version 5 classes (ie fas, fab, fad, etc) were deprecated and replaced with other classes such as fa-solid, fa-brands, fa-duotone, etc. To check for version 5, replace fa above with " fas" as below. The font awesome class fa was deprecated in version 5. Using the above code as it is will help you test for version 4 and earlier and will output an alert as below if Font Awesome is loaded properly. Var span = document.createElement('span') ĭ(span, ) Īlert(window.getComputedStyle(span, null).getPropertyValue('font-family')) Ĭopy and paste the above code before the closing tag of your HTML page which you want to check if the Font Awesome was loaded.
#Font awesome icon plus sign install
Regardless of whichever method you used to install Font Awesome into your website, you can use JavaScript code to check whether Font Awesome was loaded properly. Checking if Font Awesome is properly loaded using JavaScript code In case you used the kit option to add Font Awesome to your website, make sure to counter-check to ensure that you copied and pasted the kit in the section as it is from your Font Awesome account without making any changes to it. Also, make sure that the file is loaded within the " href" attribute of the tag and not within "src" and that rel="stylesheet" is not missing.
#Font awesome icon plus sign manual
Just like in the case of manual installation, confirm that you can open the Font Awesome CSS file without showing a 404 error. Or as below depending on the Content Delivery Network (CDN) you chose to use: Fix for installation via CDNĪn installation of Font Awesome via CDN will look something like the below:
#Font awesome icon plus sign zip
The relative path between this folder and the Font Awesome CSS file loaded on the page should remain the same as it was when you downloaded and extracted the Font Awesome zip file. Also, make sure that the tag has rel="stylesheet".Īs mentioned earlier above, make sure that the " webfonts" folder is not missing. If you are able to view the source code of the CSS file, make sure that the file is loaded within the " href" attribute of the tag and not within "src", something that many new developers confuse. Else, you will be served with a 404 page not found error. If it gets loaded well, you will be able to view its code. It in most cases will have the term "font-awesome" or "all.css/" in its name depending on the Font Awesome version used.Ĭlick on it to open it. To check whether the CSS file is loaded well, open your page source code on a web browser by right-clicking on the page and selecting " View page source" or pressing Ctrl+U while on the page.Ĭheck in the section if there is a Font Awesome CSS file loaded within tags. Make sure that the Font Awesome CSS file is loaded and that the " webfonts" folder is not missing from the website project.

In each of them, we will explore the different ways in which you can fix it. In this article, we will cover multiple possible causes of Font Awesome icons not showing on a website. If you are using LESS or SASS, open the font-awesome.less/sass file and edit the path variable ".John Mwaniki / : Font Awesome icons not showing on my websiteĪre you using Font Awesome to show icons on your website pages but it doesn't seem to work for you and you can't figure out what the heck is wrong?
