Tagged: x
-
AuthorPosts
-
February 27, 2017 at 7:02 pm #1388114
Amelia HParticipantHello!
All of a sudden my webfonts are no longer showing up.
http://www.inglewoodinnweddings.com.au
I’ve put this code into the stylesheet of my childtheme, originally it was in the custom css code on customiser.
Files are uploaded to the site
@font-face {
font-family: ‘DINMedium’;
src: url(‘http://www.inglewoodinnweddings.com.au/DINMedium.eot’);
src: url(‘http://www.inglewoodinnweddings.com.au/DINMedium.eot?#iefix’) format(’embedded-opentype’),
url(‘http://www.inglewoodinnweddings.com.au/DINMedium.woff’) format(‘woff’),
url(‘http://www.inglewoodinnweddings.com.au/DINMedium.ttf’) format(‘truetype’),
font-weight: normal;
font-style: normal;
}February 28, 2017 at 1:54 am #1388396
FriechModeratorHi There,
Thanks for writing in! The site is not actually loading the font files because of the CORS policy issue.
Please update your code to this:
@font-face { font-family: 'DINMedium'; src: url('http://inglewoodinnweddings.com.au/DINMedium.eot'); src: url('http://inglewoodinnweddings.com.au/DINMedium.eot?#iefix') format('embedded-opentype'), url('http://inglewoodinnweddings.com.au/DINMedium.woff') format('woff'), url('http://inglewoodinnweddings.com.au/DINMedium.ttf') format('truetype'), font-weight: normal; font-style: normal; }Hope it helps, cheers!
February 28, 2017 at 2:08 am #1388406
Amelia HParticipantI’ve updated the code but it’s still not working
February 28, 2017 at 5:46 am #1388608
FriechModeratorHi There,
Actually it did resolve the CORS policy issue, but yup the site is still not loading the WebFont (DINMedium). Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
And does the site have some internal caching or CDN? Would you mind clearing it.
Thanks.
March 1, 2017 at 6:35 pm #1391097
Amelia HParticipantThis reply has been marked as private.March 2, 2017 at 1:19 am #1391505
Rue NelModeratorHello There,
Thank you for providing the information. I have investigated the issue and it turns out that there is a typographic error with the given code from our previous reply. I went ahead and already fixed it.
Please check your site now.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1388114 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
