Forum Replies Created
-
AuthorPosts
-
Hi Ismael, yeah Victoria sorted it for me, but she said there was an issue with my custom font declaration and I was wondering what it was so I can fix it
Thanks for that victoria, i’ve added the padding to separate the top bar from the logo and it looks perfect now!
Do you know what i’ve done wrong with the font declaration? I always seem to have trouble uploading and calling out custom uploaded fonts and cant figure out what im doing wrong
Hi rikard,
Sorry still no luck. I have put the login details in the private section maybe you can have a look
Hi, i’ve added that code
No luck unfortunately
Hi,
I don’t have a child theme, do i need one for the custom font?
Perfect, thankyou!
Perfect, thankyou!
You can mark as solved, cheers
- This reply was modified 7 years, 1 month ago by tokenofhon.
Yes i have verified the font was imported correctly, when i paste the url in my browser it downloads the font. Also when i paste the url in webfont preview websites it displays correctly
Just for extra confirmation i’ve re-uploaded it with new filenames and below code to match:
@font-face {
font-family: ‘jenna_sueregular’;
src: url(‘http://www.ruthmatoscelebrant.com.au/wp-content/themes/enfold/css/fonts/jenna-webfont.woff2’) format(‘woff2’),
url(‘http://www.ruthmatoscelebrant.com.au/wp-content/themes/enfold/css/fonts/jenna-webfont.woff’) format(‘woff’);
font-weight: normal;
font-style: normal;
}h1,h2,h3 { font-family: ‘jenna_sueregular’ !important; }’
As you can test the path is correct and if you go to http://www.ruthmatoscelebrant.com.au/wp-content/themes/enfold/css/fonts/jenna-webfont.woff it will download the font.
Im honestly puzzled as to why it isnt working
I tried doing it with the full url and had the same issue, it just shows the text in a times new roman style default font
This reply has been marked as private.This reply has been marked as private.Tried putting the direct url in too and that didnt work either
Thanks mate, both worked!
-
AuthorPosts