Jump to content

Custom font not working - code error?

Recommended Posts

Hi, I just started designing my website and I'm trying to add in the fonts of my brand on the website. I managed to add in one, but the other is errored. It says Syntax code error on line 1 in red at the bottom and I don't know how to change it. The font simply cannot be found when I try editing the website. The font works perfectly fine in PPT, Keys, Pages, Microsoft word, just squarespace is glitching it. 

I tried talking to customer support and they sent me to the forums. I also tried converting the file from .otf to .ttf - still not working. 

Can anyone help, please? 

Screen Shot 2023-12-19 at 16.57.27.png

Link to comment
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

If you want to add custom fonts you;ll need to add some CSS that points to your font file URL. At the moment you have only pasted in the URL. See if this guide helps to explain the next steps:

Adding Custom Fonts to Squarespace

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.