jaw@jawtemplates.com

Icons Disappeared

Hello,

if you encounter with ficons missing and you see this error message in console –

Font from origin 'http://www.herb-life.club' 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://herb-life.club' is therefore not allowed access.

You should try to deactivate your cache plugin.

 

Or simply add this code to your .htaccess  to allow access from all domains for webfonts (source)

<IfModule mod_headers.c>
<FilesMatch "\.(ttc|ttf|woff|eot|otf|css|font.css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>

  • Was this Helpful ?
  • yes   no

Leave a Reply

You must be logged in to post a comment.