Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1297624

    Hello

    I am facing a problem that I never saw before.

    Our site is using Palatino font and it shows perfectly fine in all iOS/macOS devices.
    However, in Windows, the font that is loading is not Palatino but Helvetica.

    I am assuming that Palatino is not installed on Windows by default and this is the reason why it is not loading?
    Is there a way to “force” Palatino to load on Windows devices? I didn’t want to go through the Google fonts list to find a similar font since this one is exactly what we want.

    Any idea on how to get this fixed? Site link in private.

    Thank you

    #1297919

    Hey sitesme,

    I would assume that the font in question is not installed on the machine where it’s not loading. Please try uploading the font to your server, then import it using CSS: https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp

    Best regards,
    Rikard

    #1297921

    Hi Rikard.

    The strange part is that Palatino is in the “Websafe Font” list, but it definitely doesn’t open on Windows.

    Either way, I imported the font and it is now showing in my font list on Enfold.
    How exactly do I import it? I didn’t understand from the link you sent me.

    The source code shows “palatino-font-free-custom palatino-font-free”

    The URL is in the previous post in private.

    Thank you

    #1298154

    Hi sitesme,

    I have checked your site and it seems to show Palatino Font correctly.
    Do you still need further assistance?

    Best regards,
    Nikko

    #1298234

    Hi Nikko
    Unfortunately not.
    Please check the sshot below. The font is not loading for some reason. I don’t think I am pulling the font correctly.

    It is loading in some devices but not in all.

    #1298263

    Hi sitesme,

    I see, can you try to use the zip file (link in private content).
    It contains all font format: EOT, SVG, TTF, WOFF, WOFF2
    Just upload in Enfold > Import/Export > Custom Font Manager.
    Then use it in Enfold > General Styling > Fonts (tab) > Heading Font or Font for your body text, it is listed last in the dropdown.
    Hope this helps.

    Best regards,
    Nikko

    #1298265

    Thank you Nikko.

    The font import on Enfold is easy task, but, do I still need to load the font somewhere through CSS? I had this in the custom CSS section:

    /* Custom Font Palatino */
    @font-face {
      font-family: palatino-font-free;
      src: url(https://mysite.com/wp-content/uploads/avia_fonts/type_fonts/palatino-font-free/palatino.ttf);
    }
    body * {
    font-family:"palatino-font-free" !important;
    }
    #1298314

    Hi sitesme,

    Only having TTF font format causes the issue you mentioned that its not rendering to other devices.
    With the method I mentioned, it would ensure it would work in all devices.
    But if interoperability is not an issue then it’s all good.

    Best regards,
    Nikko

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