Jump to content

Ogg font not displaying on Safari

Recommended Posts

I've added Ogg font files to the custom CSS but the font isn't displaying in Safari (working in Chrome). Trial site is here: fynch-financial.squarespace.com (pw: grant2022).

The CSS I've added is:

font-face {
  font-family: "Ogg";
  src: url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6376b61e38489200c3f265f6/1668724256804/Ogg-Medium.otf');
  src: url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6359b25367aad05836d0f12f/1666822740243/Ogg-Medium.woff'), url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6376b38977fe2749ccf31d75/1668723594505/Ogg-Medium.woff2');
}

h1, h2, h3 {
  font-family: "Ogg" !important;
  letter-spacing: -0.02em;
}

Any help would be appreciated! Thank you!

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

Top Posters In This Topic

Top Posters In This Topic

Not sure why that's happening, but I'm not sure the CSS is quite right, try this replacement:

@font-face {
  font-family: "Ogg";
  src: url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6376b61e38489200c3f265f6/1668724256804/Ogg-Medium.otf'), url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6359b25367aad05836d0f12f/1666822740243/Ogg-Medium.woff'), url('https://static1.squarespace.com/static/6359b0c8fa2fa4235118342e/t/6376b38977fe2749ccf31d75/1668723594505/Ogg-Medium.woff2');
}

h1, h2, h3 {
  font-family: "Ogg" !important;
  letter-spacing: -0.02em;
}

 

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!

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

 Did I help? Buy me a coffee?

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.