Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Font from origin 'http://fortawesome.github.io' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:2057' is therefore not allowed access.
Posted
Updated 8-Sep-14 1:41am
v2

1 solution

You just need to download fontawesome, install it, and change your css link to reference it.

You should have a line:

HTML
<head>
    <link rel="stylesheet" href="http://fortawesome.github.io" />
</head>


Once you have the css and font files locally, change to:

HTML
<!-- The HREF is where your fontawesome.css is located -->
<link rel="stylesheet" href="/Content/fontawesome.css" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900