Jump to content

custom google font for whole 7.0 site

Recommended Posts

  • Replies 4
  • Created
  • Last Reply
On 11/10/2020 at 5:21 PM, tuanphan said:

Add to Home > Settings > Advanced > Code injection > Header


<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
* {
	font-family: 'Inter', sans-serif !important;
}

 

Thank you. That didn't work. Didn't change anything and part of the code show up on the website in the header. Pic in attachment. 

Screenshot 2020-11-12 at 08.10.52.png

Link to comment
2 hours ago, jkristobans said:

Thank you. That didn't work. Didn't change anything and part of the code show up on the website in the header. Pic in attachment. 

Screenshot 2020-11-12 at 08.10.52.png

Sorry, forgot style tag, use this new code

<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
<style>
* {
	font-family: 'Inter', sans-serif !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.