Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1384821
    Missy S
    Participant

    Hello,

    I added custom fonts to my style.css folder and I see the font styling when I inspect my page but the font itself isnt generating. I will send logins. Thanks in advance for your help.

    #1384822
    Missy S
    Participant
    This reply has been marked as private.
    #1385155
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! You are experiencing CORS issue or cross origin resource sharing. Please have your code updated and make use of this code instead:

    /* Custom Fonts */
    @font-face {
        font-family: "LyonTextRegular"; 
        src: url('http://www.leahrigueur.com/wp-content/themes/x-child/framework/views/ethos/fonts/LyonTextRegular.eot');
        src: url('http://www.leahrigueur.com/wp-content/themes/x-child/framework/views/ethos/fonts/LyonTextRegular.eot?#iefix'),
             url('http://www.leahrigueur.com/wp-content/themes/x-child/framework/views/ethos/fonts/LyonTextRegular.woff') format('woff'),
             url('http://www.leahrigueur.com/wp-content/themes/x-child/framework/views/ethos/fonts/LyonTextRegular.ttf') format('truetype'),
             url('http://www.leahrigueur.com/wp-content/themes/x-child/framework/views/ethos/fonts/LyonTextRegular.svg') format('svg');
        font-weight: normal;
        font-style: normal;
    }

    Hope this helps. Please let us know how it goes.

    #1385208
    Missy S
    Participant

    Thank you!! 🙂

    #1385212
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

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