Jump to content

Cannot add a customized font for the life of me

Recommended Posts

Posted

Website URL: amsperle.com

 

I'm currently trying to add a custom font to my website and it will not work for the life of me. I've tried re-downloading my font file, deleting and uploading again, and every time I go to my website page, the font remains unchanged and I have no option within font families to add my own font. I feel like I'm losing my mind hahaha.

My code is as follows: 

 

@font-face {
  font-family: 'spitzkant';
  src: url(https://static1.squarespace.com/static/60788cefc1c5303b3e31f981/t/6481f0f3fe79702e28324e97/1686237427546/spitzkant-head-light+2.ttf);
}

h1, h2, h3, h4, h5 {
  font-family:'spitzkant';
}
p {
  font-family: 'spitzkant';
}

  • Replies 6
  • Views 347
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted

Hi @amsperle I checked your site amsperle.com and inspected the code; the code you quoted in your post is missing.

It so looks like it hasn't been injected - so check your Custom CSS and add the font-face code again and click "Save"

The good news is that I tested your font-face code, and the URL for the font is working.

Let me know if you get it working.

Screenshot 2023-06-08 at 17.15.48.png

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.