Jump to content

Trouble with my font in Custom CSS - font not working!

Recommended Posts

Hi all,

I am trying to use 3 custom fonts for a new project:
- GT Flexa Condensed Regular 
- GT Flexa Compressed Medium
- GT Flexa Compressed Black

However, only regular is recognized in the code on Squarespace. Black and Medium simply don't show up (see screenshot and code below).

I am starting a completely new project from the 'Hester' template 

Note:
- Headline 1, 2, 3, 4 are all incorrect.  h1, h2, h4 should be GT Flexa Medium, and h3 should be GTA Flexa Black - but it's replacing it with Times New Roman or something else.

350908902_Screenshot2021-08-19at19_53_23.thumb.png.55cefb1013a00d56583e9d55602ceb31.png

I am using the following Custom CSS 

@font-face {
	font-family: FlexaMedium;
	src: url(https://static1.squarespace.com/static/611bf2c4b6fb4532e59351f0/t/611c2815ea278f6e4a407c88/1629235221817/GT-Flexa-Compressed-Medium.woff);

	font-family: FlexaBlack;
	src: url(https://static1.squarespace.com/static/611bf2c4b6fb4532e59351f0/t/611c281df33e4619b1881a9f/1629235229263/GT-Flexa-Compressed-Black.woff);

	font-family: FlexaRegular;
	src: url(https://static1.squarespace.com/static/611bf2c4b6fb4532e59351f0/t/611c2040be24c339080662f3/1629233216651/GT-Flexa-Condensed-Regular.ttf);
}


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

h3 {
	font-family: 'FlexaBlack' !important;
}

h1, h2, h3 {
  text-transform: uppercase;
}

p {
	font-family: 'FlexaRegular' !important;

Does anyone know what the issue might be?

Screenshot 2021-08-19 at 19.52.21.png

Link to comment
  • Replies 2
  • Views 699
  • 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.