• Hello,

    I have a strange problem with my new WordPress website. If I change the font in the theme editor of the twenty twenty two theme, the change will have no effect on the actual site (changing between system font and the serif font for example). Same goes for changes to the font size.

    The strange this is, I developed this page first locally and then exported it and imported it into my hosted wp-site. Locally everything works fine but not on the hosted versions. Same goes for plugins like twentig for example. Font changes don’t show any effect.

    Any ideas?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Panos

    (@panoshostinger)

    Hey there! ??

    I just tried replicating that on a fresh WordPress installation, on an online server, using the same theme and I was able to change the font with no issues:
    https://prnt.sc/5jGPDAg6rQ1o

    Since you’ve tested this locally, and it worked, but it didn’t work on the online server, it’s very likely to be caching.

    I’d suggest checking if you’ve any caching plugin on your WordPress installed firstly. If so, make sure to purge its cache and recheck.
    You can also check if your hosting panel has any caching enabled by default and try puring that too.
    Last, but not least, if you’re using any CDN, like Cloudflare, you should purge its cache as well and then recheck.

    Hopefully this should be indeed a caching issue and one of those should help!
    Keep us updated! ??

    Thread Starter tehger

    (@tehger)

    Thanks for your reply. I figured it might be related to some kind of caching, but could not find anything related to that. I went through everything again and found these lines in the theme json.

    {
    font-family: “futura-light”
    }

    Not sure if I put it there at some point but removing it, fixed the font problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to change font using the twenty twenty two theme’ is closed to new replies.