Jump to content

Custom font not displaying on trial site

Recommended Posts

Hi,

I've uploaded a custom font file (this one to be exact: https://www.dafont.com/steelfish.font). It is a 100% free font file. And I've used the following code: 

@font-face { 
font-family: 'steelfishrg';
src: url ('https://static1.squarespace.com/static/645bd2aa2b1dcd50418e979b/t/645bd4c0da76f657dba1bea9/1683739840357/steelfishrg.otf');
}


h1, h2 {
  font-family: 'steelfishrg' !important;
}

Pretty sure the code is good as I've uploaded and worked with custom fonts before. What am I missing? As the font doesn't display.

The site is a trial site. https://corn-pigeon-csrd.squarespace.com | Pwd: demo

Thanks is advance.

Edited by PBDesignStudio

Priyanka Biswas

PB Design Studio | itspbdesigns.com

Link to comment

From what I can see in the code, the font you uploaded is being applied, it just doesn't appear to be the font you wanted (can be a problem with free fonts). Can you try opening up the font file on your computer and seeing if it's correct there?

image.thumb.png.2f5962f67ff44f42a398f65b0a3af7b1.png

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) 
 🖼️ Gallery Lightbox 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.