Jump to content

Custom Fonts not displaying on other devices

Recommended Posts

Hi all,

 

Seen this question asked multiple times but i still can't get it right. Currently building a trial site, and when my client logs in to see the site, they cant see any of the custom fonts. They display fine on my machine. Here is my code:

 

@font-face {
  font-family: 'FKDisplay-Regular' !important;
  src: url('https://static1.squarespace.com/static/660181900c172a57061a9d16/t/6601895fe3b21d6432b45af0/1711376735683/FKDisplay-Regular.ttf');
}
h1 {font-family: 'FKDisplay-Regular' !important;}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://static1.squarespace.com/static/660181900c172a57061a9d16/t/6605ee116d99074074b7ba15/1711664657817/FKGroteskNeue-Medium.ttf');
}
h2 {font-family: 'FKGroteskNeue-Medium';}
p, .sqsrte-large, .sqsrte-small {font-family: 'FKGroteskNeue-Regular';}

 

I am not a developer and don't know any code, this is all just pulled from the online resources!

Appreciate any help.

Cheers.

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.