Fonts not loading in Network tab showing 404
is there any other way to call fonts. Because on "etc.clientlibs" im not able to see fonts there its not creating folder there
But in CRXDE console i can see the fonts there
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @keshav_goud
Please ensure the fonts are loaded in the correct folder, i.e., under resources/fonts folder in crx/de and the relative path is used properly in CSS/LESS.
Please see the screenshot below from code base.
here is how it should be referenced. Ensure the relative path is correct. Folder names can be anything.
Now the fonts will be loaded with the below URL;
https://www.website.com/etc.clientlibs/websitename/clientlibs/clientlib-site/resources/fonts/FontAwesome.woff2
Hope this helps!
Thanks!
Hi @keshav_goud
Please ensure the fonts are loaded in the correct folder, i.e., under resources/fonts folder in crx/de and the relative path is used properly in CSS/LESS.
Please see the screenshot below from code base.
here is how it should be referenced. Ensure the relative path is correct. Folder names can be anything.
Now the fonts will be loaded with the below URL;
https://www.website.com/etc.clientlibs/websitename/clientlibs/clientlib-site/resources/fonts/FontAwesome.woff2
Hope this helps!
Thanks!
Hi @keshav_goud ,
Did you checked CSS file where you have included the font path.
Please make sure that this clientlibs getting executed.
Try to debug js as well may be the client libs having issues.
Regards,
Sanjay