Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1003070

    Ann
    Participant

    Hi Theme-X,

    I just uploaded a sitemap to my root folder and after doing so my custom font completely disappeared. Any idea why?

    Thanks,

    Ann

    #1003088

    Ann
    Participant

    Actually, I deleted the sitemap and the issue is still there. Not sure what happened to the custom font.

    #1003263

    Ann
    Participant
    This reply has been marked as private.
    #1003397

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! There was a CORS or Cross Origin Resource Sharing issue in your site. I went ahead and resolved the issue to save you from trouble. All your heading with “Alpina” font should be working now. What I did is that I simply updated your font css to this:

    @font-face {
      font-family: 'Alfina';
      src: url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.eot'); /* IE9 Compat Modes */
      src: url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
           url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.woff2') format('woff2'), /* Super Modern Browsers */
           url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.woff') format('woff'), /* Pretty Modern Browsers */
           url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.ttf')  format('truetype'), /* Safari, Android, iOS */
           url('https://onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.svg#svgFontName') format('svg'); /* Legacy iOS */
    }

    If you need anything else we can help you with, please let us know.

    #1003401

    Ann
    Participant

    You guys are awesome! Thank you so much for the help and for awesome service!

    Can I ask what caused the issue? Did I mess it up somehow maybe?

    Ann

    #1003585

    Rue Nel
    Moderator

    Hello Ann,

    There was a CORS issue. Your font files were loaded using this urls:

    
    https://www.onlineconsigncouture.com/wp-content/themes/x-child/fonts/307F3B_0_0.ttf

    I simply updated the code and removed the www in the url. I also make sure that all other urls is using the same settings as what you have set in the Settings > General > Site Url.

    If you need anything else we can help you with, don’t hesitate to open another thread.