Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2616

Templates for Joomla! 5.x • Re: Google Font in Cassiopeia not working...

$
0
0
Thanks, Charles. I've now put the fonts in a new folder 'fonts' in /media/templates/site/cassiopeia/fonts as indicated.
However, I assume I will also need to change the filepath in the CSS. It is currently:
@font-face {
font-family: 'Englebert';
src: url(../fonts/'Englebert-Regular.woff2') format('woff2'),
url(../fonts/'Englebert-Regular.woff') format('woff');

font-weight: normal;
font-style: normal;
font-display: swap;
}
As I am unsure of the correct file architecture, could you kindly also give me the correct filepath for:
src: url(../fonts/'Englebert-Regular.woff2') format('woff2') assuming that ../fonts/ is incorrect?
Many thanks
Richard

Statistics: Posted by keelbolt — Mon Jul 22, 2024 3:41 pm



Viewing all articles
Browse latest Browse all 2616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>