Hi everyone, I want to ask you about Metronic theme, I downloaded demo4, when I use theme with my project and change style of font, the font doesn't change, when I go to inspect of web page, I look at the style of font, and I find the path of CSS file is not a same path of my CSS file ?? why ??
* CSS file path from inspect web page: webpack://metronic/demo4/src/sass/style.scss
&&
* correct path of CSS file in my project: localhost/assets/css/style.bundle.css
what I should do ??
Hi,
Could you please provide us with more info ? Are you using a local font file or Google font ?
How did you put the font files in Webpack? Can you provide your webpack changes via gist.github.com ?
Regards.
Hi Sean, thank you for your support, I used google font, I did copy all google links for font, and now it is working well,
google links:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap" rel="stylesheet">
Thanks
Hi,
Glad to hear that. If you need any further help please let us know.
Good luck with your projects!
Regards.