How can I add a custom font to the Craft theme?

How can I add a custom font to the Craft theme?

Sheela
Tourist
5 1 1

Hi,

I would like to add a custom font to the craft theme.

I do have the font as woff, woff2 and more. 

Also I would like to only have the headings (h1, h2 and so on) to apply the custom font and the body as something already available like Montserrat.

 

Is there any code which I can use for this?

I've managed to do it for the Narrative theme, but it didn't work for the craft theme. 

 

Thank you for helping out!

Replies 4 (4)

made4Uo
Shopify Partner
3851 717 1197

Hi @Sheela,

 

Please follow the video tutorial below

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
Sheela
Tourist
5 1 1

Thank you! Unfortunately, I tried these steps several times, but it has not worked out so far. 

Maybe because it has not uploaded my font correctly?

I just noticed that it looks different compared to the video when uploaded in Assets (see image - font name "AbramoSerif")

 

Screenshot (32).png

 

made4Uo
Shopify Partner
3851 717 1197

Hi @Sheela,

 

Have you tried the second step provided in my website?

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
luckunstuck
Visitor
1 0 0

When I add my font as an asset, it does not show up as yours does. It will not show preview and it gets added at the top of the assets list with a capital A beside it and not the </> symbols. Is there a problem with adding the asset and is there a work around if so?

 

Daniel