Jump to content

syntax error on line one when adding a custom font?

Recommended Posts

Site URL: https://www.thebloodyfoody.com/

Hello, I am trying to add a font and not sure how to fix this syntax error first line?

I followed the steps laid out by this article to see if it works anyway and it doesn't --  https://www.kayleighnoele.com/blog/how-to-upload-a-custom-font-to-squarespace.

I want to change the font for paragraphs, so I was putting, p2 in lower case? 

I guess that it correct

Totally new to this so would appreciate some help 😊

Screenshot 2021-02-24 16.20.02.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You need to use this code

@font-face {
	font-family: tuanphan;
	src: url(paste link in screenshot here);
p {
	font-family: tuanphan;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.