Site logo

Archived topic

Adding Local Fonts

2 replies · Started by Shaun on January 31, 2022

Viewing posts 1–3 of 3

Hi
I am having trouble getting a local font I added to work. I followed the GP article on adding local fonts, except I added the font files through File Manager and adjusted the URLs accordingly.
Here is the CSS I used.
CSS
Here is where I added the font in the Customiser typography settings in customiser
Finally, here are the advanced typography settings for the H2 header where I want to use it advanced typography settings H2 on home page(Capture Your Special Moment). The font should be the same as the script in the logo.
See the live page
Thanks in advance
Shaun

Hi Shaun,

I've checked the site and it doesn't seem to be loading the font file.

I've checked the stylesheet of the child theme and the @font-face has a syntax issue. The src: property's URL is missing the ' as shown here - https://share.getcloudapp.com/d5uNn2Bj

Can you try fixing the syntax and check again if the font file is finally loaded?

This archived topic is closed to new replies.