Icon Font & CORS issue

Home Forums Jevelin Theme Icon Font & CORS issue

Home Forums Jevelin Theme Icon Font & CORS issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  •  

    Font on my site are not rendering. I do see this error in console when I inspect the page:

     

    “Access to Font at ‘http……/wordpress/wp-content/themes/jevelin/fonts/Simple-Line-Icons.ttf?v=2.2.2’ from origin ‘http://www.drvigo.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.drvigo.com’ is therefore not allowed access.”

     

    There’s 7 similar errors in the console related to: themify.woff, simple-line-icons-woff, themify.tff, etc all icon related resources.

     

    Using the most recent version of the theme, and the WP-Core. I’ve also added the below to .htaccess
    <IfModule mod_headers.c>
    <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>

     

    Thoughts?

    Hi @DrVigo,

     

    I hope you are well today and thank you for your question.

     

    I visited your shared site and saw the fonts are displaying fine as shown in the attached screenshot.

     

    Please advise.

     

    Best regards,
    Shufflehound team

    Attachments:
    You must be logged in to view attached files.

    Yep, figured it out.

    Awesome great to see you got that figured out.

     

    Please advise if you have more questions.

     

    Have a fantastic day!

Viewing 4 posts - 1 through 4 (of 4 total)