Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1388114
    Amelia H
    Participant

    Hello!

    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;
    }

    #1388396
    Friech
    Moderator

    Hi There,

    Thanks for writing in! The site is not actually loading the font files because of the CORS policy issue.

    http://prnt.sc/eeb3mm

    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!

    #1388406
    Amelia H
    Participant

    I’ve updated the code but it’s still not working

    #1388608
    Friech
    Moderator

    Hi 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 credentials

    Don’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.

    #1391097
    Amelia H
    Participant
    This reply has been marked as private.
    #1391505
    Rue Nel
    Moderator

    Hello 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.

  • <script> jQuery(function($){ $("#no-reply-1388114 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>