Jump to content

Custom Font Not Appearing Correctly

Recommended Posts

Posted

In Squarespace 7.1 - My custom font isn't appearing correctly in seemingly random spots - my menu navigation, announcement bar and an event title so far.  I've made sure to use the .sqsrte-large and .sqsrte-small snippets. Here's my custom CSS:

// CUSTOM FONT

@font-face {

font-family: 'CIRCULAR';

src: url(https://static1.squarespace.com/static/64b024f88157696f144a7d31/t/6566a3d2333b464338313c29/1701225426743/CircularStd-Book.otf);

}

 

h1 {

font-family: 'CIRCULAR';}


h2 {

font-family: 'CIRCULAR';}


h3 {

font-family: 'CIRCULAR';}


h4 {

font-family: 'CIRCULAR';}


.sqsrte-large {

font-family: 'CIRCULAR';}

p {

font-family: 'CIRCULAR';}


.sqsrte-small {

font-family: 'CIRCULAR';}

 

Posted
14 minutes ago, MIP said:

In Squarespace 7.1 - My custom font isn't appearing correctly in seemingly random spots - my menu navigation, announcement bar and an event title so far.  I've made sure to use the .sqsrte-large and .sqsrte-small snippets. Here's my custom CSS:

// CUSTOM FONT

@font-face {

font-family: 'CIRCULAR';

src: url(https://static1.squarespace.com/static/64b024f88157696f144a7d31/t/6566a3d2333b464338313c29/1701225426743/CircularStd-Book.otf);

}

 

h1 {

font-family: 'CIRCULAR';}


h2 {

font-family: 'CIRCULAR';}


h3 {

font-family: 'CIRCULAR';}


h4 {

font-family: 'CIRCULAR';}


.sqsrte-large {

font-family: 'CIRCULAR';}

p {

font-family: 'CIRCULAR';}


.sqsrte-small {

font-family: 'CIRCULAR';}

 

Replace your code with the code below.

@font-face {
  font-family: 'CIRCULAR';
  src: url(https://static1.squarespace.com/static/64b024f88157696f144a7d31/t/6566a3d2333b464338313c29/1701225426743/CircularStd-Book.otf);
}
h1, h2, h3, h4, .sqsrte-large, p, .sqsrte-small {
  font-family: 'CIRCULAR' !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
5 minutes ago, MIP said:

Thanks for your reply, but unfortunately this didn't work! 😭

Where did you add the code? Can you send me screenshot?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted

It's a client's website that's populated, but not yet live - I think for privacy they wouldn't be comfortable for me to share. Hmm. Is there another way?

Posted

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted

Oh thanks, I'm currently using the Squarespace password protection as the client is a large organization and some team members have different access to to different sections of the site during the building. I guess I meant to say for security , I wouldn't be able to give out access, not privacy.

Posted
5 minutes ago, MIP said:

Oh thanks, I'm currently using the Squarespace password protection as the client is a large organization and some team members have different access to to different sections of the site during the building. I guess I meant to say for security , I wouldn't be able to give out access, not privacy.

Can you try with this code? See the image. Replace the marked code with the code below.

body * {
  font-family: 'CIRCULAR' !important;
}

 

Screenshot_444.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.