Embed Google Fonts Localy To A Joomla 4 Template - Question | JoomShaper

Embed Google Fonts Localy To A Joomla 4 Template

SH

Stefan Hirschmann

Template 1 month ago

Hi there, how can google fonts be embended locally in Joomla 4? I use the PITCH template? thank you for your help

PS: the way like in Joomla 3 to copy the fonts in the folder .../template/fonts and add the css-code in custom.css does not work!

0
2 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago

Hello Stefan Hirschmann

Please follow this documentation to host google fonts locally. Yes, custom CSS file path is the same as before (css/custom.css). Please follow this documentation.

Best regards

0
Pavel
Pavel
Accepted Answer
1 month ago

Hi. You are wrong. This works exactly the same as in J3. This is a very simple procedure and no one would reinvent the wheel to do this job any other way. Most likely you are just doing something wrong. For example, the css file name is not correct or the path to the font files in your code is not correct.

0