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
  • DrVigo
    Participant

     

    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.

    DrVigo
    Participant

    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)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form