{"id":1021,"date":"2022-05-17T05:46:27","date_gmt":"2022-05-17T05:46:27","guid":{"rendered":"https:\/\/www.belugacdn.com\/blog\/?p=1021"},"modified":"2022-05-17T05:49:22","modified_gmt":"2022-05-17T05:49:22","slug":"font-awesome-cdn","status":"publish","type":"post","link":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/","title":{"rendered":"WHAT IS A CDN? \u2013 FONT AWESOME CDN"},"content":{"rendered":"\n<p>CDN (Content Delivery Networks) is now used all over the Internet. These are the internet servers that deliver all types of things to mobile devices and browsers faster with more reliability rather than using your own server.&nbsp;<\/p>\n\n\n\n<p>CDN is a component of the internet ecosystem. Several content owners, such as e-commerce providers and media companies, pay CDN service providers to deliver their content to the customers. CDN pays the network operators and carriers for hosting the servers in their respective data centers.&nbsp;<\/p>\n\n\n\n<p>CDN offers several types of content delivery services, load balancing, transparent caching, software downloads, video streaming, cloud intelligence, and Multi\u00a0<a href=\"https:\/\/www.belugacdn.com\/blog\/cdn\/what-is-cdn\/\">CDN<\/a>\u00a0switching.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why should we use a CDN?<\/strong><\/h2>\n\n\n\n<p>CDN can help you with simple page and asset loading performance that offers a responsive and better experience for your customers. There are two things essential for necessary performance; the size of the response and the number of requests.&nbsp;<\/p>\n\n\n\n<p>There are three ways to how CDN improves content delivery:<\/p>\n\n\n\n<ul><li>By moving the server physically closer to the web browser.<\/li><li>By making sure that it is always available.<\/li><li>By having a fast server (concurrency, latency.)<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Use a Font Awesome CDN on a website?<\/strong><\/h2>\n\n\n\n<p>If you are fond of SVGs, then you might also like the beauty of Font Awesome. It is also considered more secure because it is a type of font, not a graphic, and the CSS can be easily controlled. You can easily change the positioning, size, and color without even touching a PNG, SVG, or EPS file.<\/p>\n\n\n\n<p>Here are the steps on how to use a Font Awesome on a website:<\/p>\n\n\n\n<p><strong>Step 1:&nbsp;<\/strong>Visit the Font Awesome website. Add your email address, then the website\u2019s embed code will be sent to you.&nbsp;<\/p>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Copy the code from your email and insert it in the head code. To perform this, you use the following ways:<\/p>\n\n\n\n<ul><li>For the Genesis users: Install and activate the plugin \u201cGenesis Simple Edits.\u201d Open the Theme Settings and select the \u201cHeader and Footer Scripts\u201d option. Paste the code that your receive on your email in the \u201cHeader Scripts\u201d space. Then click on Save.&nbsp;<\/li><li>For others: Install and activate the plugin \u201cInsert Headers and Footers.\u201d Open the settings and perform the same procedure as mentioned above, then click on Save.&nbsp;<\/li><\/ul>\n\n\n\n<p><strong>Step 3:&nbsp;<\/strong>Visit the Font Awesome website and look for icons. Also, you press Ctrl + F to find the icon of your choice.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong>&nbsp;Edit the HTML code of your web page to insert the selected icon. You will need a plugin to insert PHP code in your web page.&nbsp;<\/p>\n\n\n\n<p><strong>Step 5:&nbsp;<\/strong>After editing and inserting the code, you will be able to see your changes.<\/p>\n\n\n\n<p><strong>What do you mean by Auto Accessibility?<\/strong><\/p>\n\n\n\n<p>Symbols and icons that carry plenty of information, and help the people to go through interfaces, signs, and directions. It is essential that we use and create them to reach out to a huge amount of people possible. It means icons play well with the new technology, helping people navigate and use sites and apps.&nbsp;<\/p>\n\n\n\n<p>There are in-built ways to help the technology, which supports impairments such as screen readers. It understands the Font Awesome icons better that you are using. It can help you with the following cases:<\/p>\n\n\n\n<p><strong>Using Icons and Decorative Elements<\/strong><\/p>\n\n\n\n<p>If you are using any type of icon to add branding or some additional decoration, there is no need to announce the users while they are navigating the app or website. If you are utilizing the icon to add or visually re-emphasize styling to your HTML content, there is no need to repeat it to assistive technology.&nbsp;<\/p>\n\n\n\n<p><strong>Using Icons for Interactive and Semantic Purposes<\/strong><\/p>\n\n\n\n<p>If you are adding an icon to convey something, make sure that the message is conveyed to the users who might be interacting with your interface using several tools or methods by offering text-based alternatives. This thing goes for the content you are using via icons (for example, number of unread messages, shopping cart status, etc.) and also for the interactive controls like toggles, form elements, buttons, etc.&nbsp;<\/p>\n\n\n\n<p>If you have enabled it as a feature in the embed code, then Font Awesome CDN will discover the scenarios mentioned above in your interface to provide proper and modern syntax assistive technologies.&nbsp;<\/p>\n\n\n\n<p><strong>Why is Font Awesome CDN not working?<\/strong><\/p>\n\n\n\n<p>Font Awesome is a part of modern web design. It offers a simple way to insert professionally designed icons to decorate your web pages. It is totally free, easy to access, and entirely handled by the team of experts.&nbsp;<\/p>\n\n\n\n<p>The setup is easy, you just have to add a reference to the CSS file, and your work is done. But, it also has some drawbacks that create messy situations.&nbsp;<\/p>\n\n\n\n<p>If you are facing any issue with the Font Awesome, you must try these solutions to get rid of it.&nbsp;<\/p>\n\n\n\n<p><strong>Check your Ad blockers<\/strong><\/p>\n\n\n\n<p>An Adblocker can mostly stop your icons from loading. You can click the refresh icon several times or could use a keyboard shortcut Control + F5 to clear the cache on the Chrome browser.&nbsp;<\/p>\n\n\n\n<p><strong>Check your source link<\/strong><\/p>\n\n\n\n<p>Sometimes, your link needs an \u201chref\u201d instead of \u201csrc.\u201d So, replace the \u201csrc\u201d with \u201chref\u201d in your CDN link.&nbsp;<\/p>\n\n\n\n<p><strong>Use HTTPS<\/strong><\/p>\n\n\n\n<p>If your URL is using HTTPS, then use HTTPS on your CDN link. And if it is plain HTTP, then try using HTTP on your CDN link.&nbsp;<\/p>\n\n\n\n<p><strong>You Might have accidentally linked it twice<\/strong><\/p>\n\n\n\n<p>Always check your source code or other elements in your tools. If the same file is included more than once, then it can cause serious problems. One problem is when linking to both the \u201c.min.css\u201d file and the \u201c.css\u201d file. Always link one file at a time, in both the production and local environments.<\/p>\n\n\n\n<p>Another issue can occur when you include the CDN link twice. So check how your stack\/framework is rendering the links. Always make sure that the link is included once in your views.&nbsp;<\/p>\n\n\n\n<p><strong>Icons Not Showing Up as Boxes<\/strong><\/p>\n\n\n\n<p>Sometimes, your icons can load fully, but they are unable to show up correctly. It can be because of a few reasons:<\/p>\n\n\n\n<p><strong>Include the \u201cfa\u201d class<\/strong><\/p>\n\n\n\n<p>Add the \u201cfa\u201d class before the icon class while coding.<\/p>\n\n\n\n<p><strong>You might be overriding the Font Awesome font family<\/strong><\/p>\n\n\n\n<p>Font Awesome utilizes its font face for the icons. Most of the time, it makes sense to adjust your website font like \u201copen Sans\u201d as a part of the global property. When you use something different in the CSS selector, the issue arises, which can override the other present elements.&nbsp;<\/p>\n\n\n\n<p>So, set the elements carefully, which you want to use for your font like list items, headers, and so on.&nbsp;<\/p>\n\n\n\n<p><strong>Why you face trouble with the new Font Awesome<\/strong><\/p>\n\n\n\n<p>Font Awesome introduced its latest version, Font Awesome 5. It offers an entirely new way to render the icons by using \u201cSVG\u201d rather than the previous unicode characters. They are inserted in the same way but are rendered differently. It is essential, as this is not backward compatible.&nbsp;<\/p>\n\n\n\n<p>Common issues with this latest version can leave you with a flashing question mark icon. It signifies the crash between the different versions. To fix these issues, use the following ways:<\/p>\n\n\n\n<p><strong>Adjust the Class Name<\/strong><\/p>\n\n\n\n<p>The latest version of Font Awesome uses the other kind of class name for the icons. In the older version, you might have used \u201cfa fa-pencil.\u201d In the latest version, you will use \u201cfas fa-pencil-alt.\u201d Both of them are similar, but you can easily get confused while inserting them.&nbsp;<\/p>\n\n\n\n<p><strong>Never use the old link and the new link simultaneously<\/strong><\/p>\n\n\n\n<p>If you are using the \u201cSVG\u201d icons, you will require a new CDN link to the CSS\/JavaScript file. It is mandatory to include this to make things work. You just have to ensure that only the latest link should be there, and there are no old CDN links on your page.&nbsp;<\/p>\n\n\n\n<p>It is simple to locate the CDN link and see the version number. For the latest version, it will appear \u201c5.x.x.\u201d<\/p>\n\n\n\n<p><strong>Mix\/Match the previous and new icons<\/strong><\/p>\n\n\n\n<p>You might want to keep your past icons, but adding the new SVG icons over them can cause problems. Because the specific rules of the versions can clash against each other. So, it is your choice to either use the previous version or the latest one.&nbsp;<\/p>\n\n\n\n<p><strong>Using font-weight with the new icons<\/strong><\/p>\n\n\n\n<p>For some specific reason, you might need to use \u201cfont-weight\u201d over the new icons. You can try this if nothing else is working. Remember that this will work only with the earlier version of Font Awesome 5, so you must try updating the CDN link.&nbsp;<\/p>\n\n\n\n<p><strong>Is Font Awesome Free?<\/strong><\/p>\n\n\n\n<p>Font Awesome is completely free, GPL friendly, and open source. You can utilize it for open source projects, commercial projects, and wherever you want them.&nbsp;<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>These are the essential things that you must know about the CDN and the Font Awesome. So, use them correctly to avoid any issue. Read the article carefully and learn how to use them in the right way.&nbsp;<\/p>\n\n\n\n<p><strong>Related Resources<\/strong><br><a href=\"https:\/\/web.archive.org\/web\/20210617024322\/https:\/\/webinspector.com\/website-malware-scanner\/\">Website virus scanner<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.belugacdn.com\/blog\/hosting\/web-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Web Hosting<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.belugacdn.com\/blog\/hosting\/free-web-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Free Website Hosting<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CDN (Content Delivery Networks) is now used all over the Internet. These are the internet servers that deliver all types of things to mobile devices and browsers faster with more reliability rather than using your own server.&nbsp; CDN is a component of the internet ecosystem. Several content owners, such as e-commerce providers and media companies, <\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[51],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Font Awesome CDN | How to Use a Font CDN on a website?<\/title>\n<meta name=\"description\" content=\"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Font Awesome CDN | How to Use a Font CDN on a website?\" \/>\n<meta property=\"og:description\" content=\"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/\" \/>\n<meta property=\"og:site_name\" content=\"Belugacdn\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-17T05:46:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T05:49:22+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/\",\"url\":\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/\",\"name\":\"Font Awesome CDN | How to Use a Font CDN on a website?\",\"isPartOf\":{\"@id\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#website\"},\"datePublished\":\"2022-05-17T05:46:27+00:00\",\"dateModified\":\"2022-05-17T05:49:22+00:00\",\"author\":{\"@id\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/b0d6dda726692bd80f5cb63403393af5\"},\"description\":\"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website\",\"breadcrumb\":{\"@id\":\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WHAT IS A CDN? \u2013 FONT AWESOME CDN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#website\",\"url\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/\",\"name\":\"Belugacdn\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/b0d6dda726692bd80f5cb63403393af5\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/686397c4e91d279cd155f0c2d563a122?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/686397c4e91d279cd155f0c2d563a122?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"http:\/\/comodo.com\"],\"url\":\"https:\/\/www.belugacdn.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Font Awesome CDN | How to Use a Font CDN on a website?","description":"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/","og_locale":"en_US","og_type":"article","og_title":"Font Awesome CDN | How to Use a Font CDN on a website?","og_description":"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website","og_url":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/","og_site_name":"Belugacdn","article_published_time":"2022-05-17T05:46:27+00:00","article_modified_time":"2022-05-17T05:49:22+00:00","author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/","url":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/","name":"Font Awesome CDN | How to Use a Font CDN on a website?","isPartOf":{"@id":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#website"},"datePublished":"2022-05-17T05:46:27+00:00","dateModified":"2022-05-17T05:49:22+00:00","author":{"@id":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/b0d6dda726692bd80f5cb63403393af5"},"description":"BelugaCDN is the best way to get Font Awesome CDN on your website or applications. Learn How to Use a Font CDN on a website","breadcrumb":{"@id":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.belugacdn.com\/blog\/cdn\/font-awesome-cdn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WHAT IS A CDN? \u2013 FONT AWESOME CDN"}]},{"@type":"WebSite","@id":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#website","url":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/","name":"Belugacdn","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/b0d6dda726692bd80f5cb63403393af5","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/review-mm-52408-21v2tt.www-staging.belugacdn.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/686397c4e91d279cd155f0c2d563a122?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/686397c4e91d279cd155f0c2d563a122?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["http:\/\/comodo.com"],"url":"https:\/\/www.belugacdn.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/posts\/1021"}],"collection":[{"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":2,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"predecessor-version":[{"id":1041,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions\/1041"}],"wp:attachment":[{"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.belugacdn.com\/blog\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}