Tagged: x
-
AuthorPosts
-
May 21, 2016 at 11:56 am #1003070
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
May 21, 2016 at 12:24 pm #1003088Actually, I deleted the sitemap and the issue is still there. Not sure what happened to the custom font.
May 21, 2016 at 6:17 pm #1003263This reply has been marked as private.May 21, 2016 at 7:58 pm #1003397Hello 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.
May 21, 2016 at 8:02 pm #1003401You 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
May 22, 2016 at 12:48 am #1003585Hello 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.
-
AuthorPosts