• Hi!

    I’m using a theme on my site that apparently doesn’t support the Norwegian letters in headings. In paragraph text in posts and pages it works fine though.

    How can I fix this?

    I’ve been trying to look at the css coding, but since I really don’t know css that much I just couldn’t understand how I could fix it.

    Here is my page: https://www.stage.kultursommerleir.no

    Help is really appreciated =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems like your theme is using Cufon which is Javascript font replacement so it can’t be changed just by CSS. I guess the theme might have an option to change the font somehow?

    Here’s some instruction about Cufon.

    https://davidwalsh.name/cufon

    Thread Starter eraleks

    (@eraleks)

    Unfortunately it doesnt seem like the theme has an option to change font. I didnt understand how i could change the font with cufon, are you familiar with this? I dont know css that much. Ive tried to find somewhere in the code that determines what font is used for the headings (h1), so i just could change that to helvetica or something bit I couldnt find where or how (of it is possible at all this way?)

    Tanks for helping me ??

    It’s a commercial theme so I can’t really see how the Javascript is included but I’m pretty sure it’s either linked from functions.php or header.php.

    I think what you can do is search for the word “cufon” in your theme with your text editor. If you see any Cufon javascript in any file, just remove it. Make sure to check the console if there’s any Javascript error in case you missed any spot. Once all of the Cufon scripts are removed, you can change the font with CSS.

    And if you want different fonts for your headings, using @font-face method is better than Cufon. There’re some good stuff on Google web fonts and Fontsquirrel, you can check it out.

    https://www.fontsquirrel.com/
    https://www.google.com/webfonts

    Hope that helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change font?’ is closed to new replies.