Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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;
    }

    #696336

    Hey 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,
    Jordan

    #696338

    OK here it is:

    #696824

    Hi,

    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,
    Rikard

    #698588

    Hi Rikard,

    The full URL, I’ll give it a go.

    Thank you,
    Jackie

    #698592

    What would the full URL look like in the code?

    #699469

    Hi,

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.