Hi, i have a bunch of custom fonts, and have added them to my fonts folder.
All these fonts was origionally in my root folder then just got refrenced from my styles.
i have referenced them in my styles but im pretty sure my path is incorrect?
Can you help me confirm ;
Remember when you compile your style sheet, your fonts will end up in /dist/fonts/ while your compiled CSS stylesheet will end up in /dist/css/. Your iconic-font-path would translate to /dist/css/fonts.
So you need your stylesheet to reference the fonts pointing to where they will end up.
Try:
$iconic-font-path: "../fonts/";
If that doesn’t work, here’s my method for setting up fonts which works for me.
Put your fonts & font-face stylesheet into /assets/fonts - make a subfolder if you like to keep stuff organised
In the font-face stylesheet, change “src” refs to point to the font files, relative to the location of the compiled CSS file in the /dist/ folder. Here’s a snippet from one of my stylesheets.