adding custom font to flow theme

New Member
2 0 0

Hello,

I was wondering if anyone had any experience adding fonts to the flow theme or just themes in general?Screen Shot 2019-09-12 at 6.46.43 PM.pngScreen Shot 2019-09-12 at 6.47.13 PM.png
I've added this to my timber.scss.liquid file and added the class to my div. I' have the .woff and .woff2 in the assets folder. It doesn't seem to be working and I checked the console so see if it could find these files and it did not mention it cannot find these files. Thank you for your help.

0 Likes
Shopify Partner
12 1 5
src: url("{{ 'font-file' | asset_url }}")

Change the src like this and make sure you have the font files uploaded inside your shopify theme's assets folder.

0 Likes