How can I upload a custom font to the Prestige theme?

Can someone please help me upload a custom font to the prestige theme I feel like I have tried everything

www.hjrstudio.co.nz

Hey, can you please describe what methods you’ve tried?

Anyways, try this one for a woff2 font:

  • upload your font to the assets folder

  • add the following code to the base.css file:

@font-face {

font-family: ‘[FAMILY]’;

src: url(‘[FONTNAME].woff2’) format(‘woff2’);

font-style: normal;

}

tagname or .classname or #id{

font-family: [FAMILY];

}

I’ve tried that but with the theme.liquid as I don’t have a base.css and that doesn’t work

sorry theme.css…

we have sent you access request. please accept it so we would be able to help you

Hi @printsbyhjr

May this instruction can help you.

https://shopify.dev/docs/themes/architecture/settings/fonts

Hey, we have applied the changes to your store. Please mark this as a solution.

We applied the font only to headings. if you need any further help you can contact us anytime.

Hi there,

I just wanted it as the headings on the collection pages (https://www.hjrstudio.co.nz/collections/invitations) for example WEDDING INVITATIONS, I want all other headings (especially the header menu) to remain in the old font if that’s possible.

Hey, sorry for the delay.

All done and now the custom font will affect only large H1 headings.

Let us know if you need any further help

Thank you so much!! The sub headings on those same pages I want to change the font on that too, if I upload the font to the assets would you be able to do this for me as well?

Of course! We would love to help you.

Please contact us via email for further assistance.

support@studioenchant.com

Hey! I’ve been trying to add custom fonts to my website. I tried the solution you mentioned but its still not working. Can you please guide me through it?

Thanks!