Jump to content

Question about adding a font to Website but not having it site wide only used through code block

Recommended Posts

  • Replies 3
  • Views 386
  • Created
  • Last Reply

1. Click font you uploaded > It will show font url in Custom CSS box > Cut url & paste in below code

@font-face {
	font-family: yourfontname;
	src: url(paste font url here);
}

2. Next, you need to declare font for which element you want to apply

eg if you want apply on heading, add this to Custom CSS 

h1, h2, h3, h4, h5, h6 {
	font-family: yourfontname;
}

replace yourfontname & font url

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
On 12/19/2020 at 1:54 AM, ser511 said:

It worked thank you so much

I see the footer here on tablet is ugly. You can check.

If you need to fix, we will give the code. https://deer-crane-j88h.squarespace.com/blog

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.