Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

syntax error on line one when adding a custom font?


Lanaemerald

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0

You need to use this code

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

 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...