-
AuthorPosts
-
February 24, 2016 at 6:59 pm #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.
February 25, 2016 at 3:28 pm #589175Hi DJQuad!
Please use this plugin https://wordpress.org/plugins/use-any-font/ and upload your ttf :)
Cheers!
Vinay KashyapFebruary 25, 2016 at 7:09 pm #589382I 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.
February 25, 2016 at 7:18 pm #589391Hey!
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!
YigitFebruary 25, 2016 at 7:36 pm #589400I’m using Use Any Font. The font was uploaded through their plugin setup page.
February 25, 2016 at 7:56 pm #589418You can disregard. I added this to Custom CSS
h1, h2, h3, h4, h5, h6, .menu-item a { font-family: obelixpro!important; }
February 25, 2016 at 7:57 pm #589420Hey!
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 issuesCheers!
Yigit- This reply was modified 8 years, 9 months ago by Yigit.
-
AuthorPosts
- You must be logged in to reply to this topic.