Not able to upload font files from the Assets

I am not able to upload font (.woff, .woff2) files from the Assets on the updated code editor in Shopify.

Can anyone please suggest me a wayout?

Thanks.

Hi @SubhraMajumder

Kindly follow this link to add custom fonts

https://shopify.dev/themes/architecture/settings/fonts#custom-fonts

@SubhraMajumder
Hii,
Please check following links
https://getshogun.com/help/en/articles/4437764-adding-fonts-to-your-shopify-theme
https://ecomexperts.io/blogs/liquid-tutorial-shopify/shopify-font

The link doesn’t address the issue of not being able to upload woff and woff2 files.

@stan255 @SubhraMajumder Just ran into this issue as well and may have found a solution. I’m not sure if it’s coincidence and luck or actually a solution but out of desperation I disabled all tab/site protections like AdBlock Plus and the browser’s default privacy protection for the tab/site (I’m using Firefox so I can’t speak to Chrome atm) and reloaded. This time I was able to upload my WOFF/WOFF2 files one at a time with the file picker, not dragging and dropping which is what I was originally doing.

If you have any kind of privacy and security extensions/features in your browser, and you should, just try disabling them all temporarily (or one at a time if you’re patient and curious) and reload the page and try again. If that doesn’t work, try in another browser, doing the same disabling of protections on it. If that doesn’t work, you’ll have to just upload the files through Settings > Files and adjust how you’re referencing the fonts in CSS/Liquid/whatever.