Self hosted Google fonts
Permalink
Yesterday I successfully tested how to self host Google fonts.
All went well but right now the fonts are located in a folder within the Pixel theme folders structure.
Fonts folder: /packages/theme_pixel/themes/pixel/css/fonts
Less file (with font-face rules) folder: /packages/theme_pixel/themes/pixel/css/less
Font-face rules contain a relative path: url('../fonts/fontname.....')
I want to store the fonts in another location and here comes my question: what is the best location to do that (maybe somewhere under /application...) and how to point to this new location in the font-face rules (using a relative or a full path)?
Any (detailed) suggestions about this?
Thanks.
All went well but right now the fonts are located in a folder within the Pixel theme folders structure.
Fonts folder: /packages/theme_pixel/themes/pixel/css/fonts
Less file (with font-face rules) folder: /packages/theme_pixel/themes/pixel/css/less
Font-face rules contain a relative path: url('../fonts/fontname.....')
I want to store the fonts in another location and here comes my question: what is the best location to do that (maybe somewhere under /application...) and how to point to this new location in the font-face rules (using a relative or a full path)?
Any (detailed) suggestions about this?
Thanks.