XF 2.2 Google fonts aren't working

Unreturned

Member
Licensed customer
I'm trying to import fonts via google fonts but when changing in typography or css in extra.less nothings being changed.
whats the issue? ( i assume that there is something override the changes everytime ).
 
How have you imported the fonts? Basic ways are in header or css in extra.less

Having tried both, I end up with the Google default, and embed in head of template page_container

Code:
<link href="https://fonts.googleapis.com/css2?family=Sansita+Swashed:wght@300&display=swap" rel="stylesheet">

Then in style properties:
Code:
'Sansita Swashed'
 
Last edited:
Back
Top Bottom