Jump to content

Custom font not showing on any other device (mobile, laptop) other than my current laptop

Recommended Posts

Hi there, would anyone please kindly look at see what is wrong here? Many thanks in advance!

I have uploaded custom font file of ott, ttf, woff and woff2. The font looks fine in my laptop (I suppose because I have it on my laptop), but the font becomes weird when I view it on mobile or any other device. 

Site: https://bobcat-gardenia-zxk5.squarespace.com/

Password: test

Here's my code:

@font-face {
    font-family: 'EditorsNote-SemiboldItalic';
   src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/6355658874728610d2a85db3/1666540936753/EditorsNote-SemiboldItalic.ttf')format('truetype');  
  src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635256fcb44eeb20deeed3fc/1666340604517/EditorsNote-SemiboldItalic.otf')format('opentype');
  
  src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567dbbfd4ba5781263906/1666541531432/EditorsNote-SemiboldItalic.woff')format('woff');
  
  src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567df2c3f423a90dae8b4/1666541535734/EditorsNote-SemiboldItalic.woff2')format('woff2');
  
  }

h1 {font-family: 'EditorsNote-SemiboldItalic';}
h2 {font-family: 'EditorsNote-SemiboldItalic';}
h3 {font-family: 'EditorsNote-SemiboldItalic';}
 

Edited by tiffany430
Added site password
Link to comment
  • Replies 3
  • Views 184
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Have you tried it without uploading the font 4 times? You should only do it once. Try this instead using commas to correctly list alternative uploads:

@font-face {
    font-family: 'EditorsNote-SemiboldItalic';
   src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/6355658874728610d2a85db3/1666540936753/EditorsNote-SemiboldItalic.ttf')format('truetype'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635256fcb44eeb20deeed3fc/1666340604517/EditorsNote-SemiboldItalic.otf')format('opentype'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567dbbfd4ba5781263906/1666541531432/EditorsNote-SemiboldItalic.woff')format('woff'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567df2c3f423a90dae8b4/1666541535734/EditorsNote-SemiboldItalic.woff2')format('woff2');  
  }

h1, h2, h3 {
font-family: EditorsNote-SemiboldItalic;
}

Hope that helps!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
17 minutes ago, Ziggy said:

Have you tried it without uploading the font 4 times? You should only do it once. Try this instead using commas to correctly list alternative uploads:

@font-face {
    font-family: 'EditorsNote-SemiboldItalic';
   src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/6355658874728610d2a85db3/1666540936753/EditorsNote-SemiboldItalic.ttf')format('truetype'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635256fcb44eeb20deeed3fc/1666340604517/EditorsNote-SemiboldItalic.otf')format('opentype'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567dbbfd4ba5781263906/1666541531432/EditorsNote-SemiboldItalic.woff')format('woff'), src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/635567df2c3f423a90dae8b4/1666541535734/EditorsNote-SemiboldItalic.woff2')format('woff2');  
  }

h1, h2, h3 {
font-family: EditorsNote-SemiboldItalic;
}

Hope that helps!

Hi Ziggy, thanks! I tried using this code and also removing the other three font formats and only keeping ttf, but it still shows a different font...

Would you have any idea why this is the case? I uploaded another custom font (from the same designer) and it works on both my mobile ver and squarespace site ver, but somehow Editor's Note is not working...

Thanks a lot!! Haven't been able to solve this : (

 

@font-face {
    font-family: 'EditorsNote-SemiboldItalic';
   src: url('https://static1.squarespace.com/static/634e90ce39354500e4d8e90e/t/63569e8e7c8ae732da0c1d01/1666621070852/EditorsNote-SemiboldItalic.ttf');
  
}

h1, h2, h3 {
font-family: EditorsNote-SemiboldItalic;
}

Link to comment

That sounds like there's something wrong with the font file for Editor's Note, especially if another font is working correctly.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.