• Hi

    I want to add my custom font to this theme, but I cannot load it correctly. Can I have any help for this issue?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Are you using a plugin to load the font files?

    If you are loading font files, try going to Customize > Additional CSS and add:

    body { font-family: "Arial"!important; }

    Replace “Arial” with the name of your font that you try to load. This should override any font that the theme tries to set as body font.

    Thread Starter martaperessini

    (@martaperessini)

    I tried both ways (plugin and directly in font folder) and none of them works.

    With this code in the additional CSS it seems to read the code (the h1 font changes) but that is not the font I loaded (my font name’s family is “wildone”, but this is not the style of the font)

    Is there an issue with the font file?

    Many thanks

    Theme Author Alexander Agnarson

    (@alxmedia)

    I think there is an issue with how you load the fonts in the theme. Have you tried this plugin? https://www.ads-software.com/plugins/olympus-google-fonts/ – I don’t think your font is available on Google fonts, but you may have to change to one that is available there to get it to work more easily.

    Here you can browse fonts available: https://fonts.google.com/

    Thread Starter martaperessini

    (@martaperessini)

    Hi,

    I managed to import one of my custom font with code.

    However, even if code is the same for both, just one of theme has been working correctly (lucky font family)

    Theme Author Alexander Agnarson

    (@alxmedia)

    If one of them is working, and the other not, with the exact same code – then I think you are right that it’s probably a problem with the font file.

    Sorry that I can’t help you out more – it’s a strange issue.

    Thread Starter martaperessini

    (@martaperessini)

    I agree, I even tried to convert it in FontSquirrel but it didn’t change anything!

    Many thanks for your interest, even if I didn’t fully resolve my problem your advice were very helpful ??

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