-
AuthorPosts
-
October 7, 2016 at 7:23 am #696321
I’ve used your forum and made a custom font for all headings on my Enfold website (not a google font).
It was successful. The headings on every page show the custom fonts.The issue is that when you visit the website (homepage) for the first time, the homepage shows the heading text in Time New Roman.
Once I visit any other page, the font is the correct custom font. I can then go back to the homepage and the custom font is active.Is this a bug? Or is there some code I can update to fix this issue?
Here’s the code I used below:
@font-face {
font-family: ‘CustomFont’;
src: url(‘CustomFont.eot’);
src: url(‘CustomFont.eot?#iefix’) format(’embedded-opentype’),
url(‘CustomFont.woff’) format(‘woff’),
url(‘CustomFont.ttf’) format(‘truetype’),
url(‘CustomFont.svg#CustomFont’) format(‘svg’);
font-weight: normal;
font-style: normal;
}h1, h2, h3, h4, h5 , h6, strong {
font-family: “CustomFont” !important;
}October 7, 2016 at 7:59 am #696336Hey jackiejackiejackie,
Thanks for reaching out to us!
Your site is password protected so I was unable to view and test this issue on your homepage. Could you please provide access so we can have a closer look.
Best regards,
JordanOctober 7, 2016 at 8:13 am #696338OK here it is:
October 8, 2016 at 8:06 am #696824Hi,
It looks like your pages are password protected even though I’m logged in? Please post that password as well. You could try to use the full URL for the font in your code, that way you know can verify that the font is being looked for in the right place.
Regards,
RikardOctober 13, 2016 at 7:37 am #698588Hi Rikard,
The full URL, I’ll give it a go.
Thank you,
JackieOctober 13, 2016 at 7:48 am #698592What would the full URL look like in the code?
October 16, 2016 at 8:32 am #699469Hi,
To make it a bit easier I would suggest you put the font in the root folder of your site, you can move it around after you see that it’s working properly. If you put it in the root your full URL path would look something like this:
http://yoursite.com/PharmaBoldCond.eot
Thanks,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.