Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #588585

    Hi, I followed the directions at http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress and uploaded the font files to enfold-child. I also put this in custom css –

    @font-face {
        font-family: 'obelixproregular';
        src: url('obelixpro-cyr-webfont.eot');
        src: url('obelixpro-cyr-webfont.eot?#iefix') format('embedded-opentype'),
             url('obelixpro-cyr-webfont.woff2') format('woff2'),
             url('obelixpro-cyr-webfont.woff') format('woff'),
             url('obelixpro-cyr-webfont.ttf') format('truetype'),
             url('obelixpro-cyr-webfont.svg#obelixproregular') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: 'obelixproregular'!important;
    }

    But it’s not working. Private data below.

    #589175

    Hi DJQuad!

    Please use this plugin https://wordpress.org/plugins/use-any-font/ and upload your ttf :)

    Cheers!
    Vinay Kashyap

    #589382

    I actually started with that but it didn’t work. I reactivated it, removed the stuff above from Custom CSS, but it’s not showing the right font for the headings.

    #589391

    Hey!

    Where exactly have you uploaded your fonts? Path may not be the correct one. If you would like us to look into it, please post FTP credentials here privately as well

    Cheers!
    Yigit

    #589400

    I’m using Use Any Font. The font was uploaded through their plugin setup page.

    #589418

    You can disregard. I added this to Custom CSS

    h1, h2, h3, h4, h5, h6, .menu-item a {
    font-family: obelixpro!important;
    }
    #589420

    Hey!

    You can refer to this post – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/ and not need to use a plugin. Please refer to the post and let us know if that does not help and we will look further into it.
    Great! Glad you figured it out :)
    Let us know if you have any other questions or issues

    Cheers!
    Yigit

    • This reply was modified 8 years, 8 months ago by Yigit.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.