Custom Fonts import fails

0
Hi, I have these folder structure in my company styling module:     Within my custom-variables.scss I try to import the "Enercity Euclid" and the "Open Sans" as fallback:   This results into an 404 in the console of my browser.     Does anybody see my mistake?      Thanks in advance!
asked
2 answers
3

Hi,

I solved the riddle with the help of this blog:

 

How to add font-icons in Mendix 9 | by Jason Teunissen | Mendix Community | Medium

 

Keep in mind, that you need to take path from the deployment folder, so in my case:

 

image.png

 

answered
0

Dear Tjark Radewaldt,

 

There is a mistake, you have to consider from root directory when importing. In your case it will be theme/public/fonts/open-sans/open-sans.css not ../public/fonts/open-sans/open-sans.css

 

Hope my answer helps, reach me out for any queries.

answered