Jump to content

Custom font not showing on other devices

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Hi, 

my custom font is not working on other devices. Can you check it please?

Thanks.

https://www.goldenerany.com/

 

 

@font-face {

    font-family: 'PPNeueMontreal-SemiBold';

       src: url('FontURLhttps://static1.squarespace.com/static/63f5364cd03f2925cbd94e75/t/6421e840f01bcc005abc0fc2/1679943744256/PPNeueMontreal-SemiBold.ttf');

  }

h1 {font-family: 'PPNeueMontreal-SemiBold';}
h2 {font-family: 'PPNeueMontreal-SemiBold';}
h3 {font-family: 'PPNeueMontreal-SemiBold';}
h4 {font-family: 'PPNeueMontreal-SemiBold';}
p {font-family: 'PPNeueMontreal-SemiBold';}

  • Solution
Posted

You haven't removed the placeholder text from the src URL:

image.png.3e395e6f6a266b508c8422a83cdd0fe6.png

Here is the updated code:

@font-face {
  font-family: 'PPNeueMontreal-SemiBold';
  src: url('https://static1.squarespace.com/static/63f5364cd03f2925cbd94e75/t/6421e840f01bcc005abc0fc2/1679943744256/PPNeueMontreal-SemiBold.ttf');
}
h1, h2, h3, h4 {font-family: 'PPNeueMontreal-SemiBold';}
p, .sqsrte-large, .sqsrte-small {font-family: 'PPNeueMontreal-SemiBold';}

I also added the selectors for the P1 and P3 paragraph text for you.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.