Why am I getting font errors on my Warehouse Theme site?

Hi! I am not using custom fonts on my website but am getting font errors on Google Dev. Any help? Website is https://www.shop.dralexrinehart.com/.

1 Like

@chloecreativest

sorry, bt there are font file missing

it’s a custom font issue can you please flow below font custom font

1. Go to Online Store->Theme->Edit code
2.Asset->/your css file->upload your custom font all font tyep = TTF, OTF, WOFF, WOFF2, SVG
3. Asset->/your css file->paste below code at the bottom of the file.
@font-face {
font-family: 'Montserrat-Regular';
src: url('{{ 'Montserrat-Regular.eot?' | asset_url }}');
src: url('{{ 'Montserrat-Regular.eot??#iefix' | asset_url }}') format('embedded-opentype'),
url('{{ 'Montserrat-Regular.woff' | asset_url }}') format('woff'),
url('{{ 'Montserrat-Regular.ttf' | asset_url }}') format('truetype'),
url('{{ 'Montserrat-Regular.svg#Montserrat-Regular' | asset_url }}') format('svg');
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: antialiased;
}
can you please just change font name, for example, Montserrat-Regular to your custom font name

Should I do this even when the fonts are not custom? We are using Playfair Display and Nunito which is standard in Shopify

1 Like

@chloecreativest

yes, sure as you like

So.. I need to upload the font that is already in the Shopify library? That seems odd..

@chloecreativest

no sorry Shopify font libraryf not allow to custom font

Got it… so why is the font errors appearing even when I’m using the Shopify standard fonts? How can I fix that?

Hi! Is there any additional support for these errors? They are Shopify fonts and NOT custom.

@chloecreativest

oh sorry for that issue can you please share issue or error details

Sure. If you go to https://www.shop.dralexrinehart.com/, we are using Warehouse Theme with all Shopify installed fonts. None are custom. Fonts are Playfair Display and Nunito. When you go to Google Inspect tools on the homepage, there are 8 errors [attached] that are font related but we did nothing with the fonts.

1 Like

@chloecreativest

sorry for bt its missing font type

can you please upload each font family this file OTF, TTF, SVG, WOFF, WOFF2

I did that and more errors appeared. Any other guidance? The errors are only for .woff and .woff2