Jump to content

Custom Font not showing as bold in Safari

Go to solution Solved by Ziggy,

Recommended Posts

2 minutes ago, onika said:

See site URL

I can't see your website URL in this post, can you share it here?

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

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

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

 Did I help? Buy me a coffee?

Link to comment

How do you have the font set to bold? Is it a custom font installed?

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

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

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

 Did I help? Buy me a coffee?

Link to comment

Yes there is a custom font installed:

@font-face {   
font-family: 'DINPro';   
src:url(https://static1.squarespace.com/static/6523aadb11b9db66033889ab/t/6523ac2122640a4ea69823e3/1696836641423/DINPro-Regular.woff);
}

@font-face {
font-family: 'DINProlight';   
src:url(https://static1.squarespace.com/static/6523aadb11b9db66033889ab/t/653628422a85696f717cb24d/1698048066669/DINPro-Light.woff);
}

h1, h2, h3, h4 {font-family: DINPro!important}
p {font-family: DINPro!important}
.sqsrte-small {font-family: DINProlight!important}

.sqs-block-button-element {font-family: DINPro!important}

.form-block * {font-family: DINPro!important}
 

The bold is the usual Squarespace setting in the text block. It shows fine in Chrome or Firefox, but in Safari the custom font shows, but not in bold.

 

Link to comment

Try this adjustment to your code:

@font-face {   
font-family: 'DINPro';   
src:url('https://static1.squarespace.com/static/6523aadb11b9db66033889ab/t/6523ac2122640a4ea69823e3/1696836641423/DINPro-Regular.woff');
}
@font-face {
font-family: 'DINProlight';   
src:url('https://static1.squarespace.com/static/6523aadb11b9db66033889ab/t/653628422a85696f717cb24d/1698048066669/DINPro-Light.woff');
}

h1, h2, h3, h4 {font-family: 'DINPro' !important;}
p {font-family: 'DINPro' !important;}
.sqsrte-small {font-family: 'DINProlight' !important;}

h1 strong, h2 strong, h3 strong, h4 strong, p strong, .sqsrte-small strong {
  font-weight:600 !important;
}

.sqs-block-button-element {font-family: 'DINPro' !important;}

.form-block * {font-family: 'DINPro' !important;}

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

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

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

 Did I help? Buy me a coffee?

Link to comment

In that case it looks like the fonts you have uploaded don't support different font weights. If you will want to upload a DINPro-bold font, and then set that font in this section that is just targeting bolded (strong) text:

h1 strong, h2 strong, h3 strong, h4 strong, p strong, .sqsrte-small strong {
  
}

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

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

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

 Did I help? Buy me a coffee?

Link to comment
  • Solution
5 minutes ago, onika said:

As we only want part of the headlines to be bold, uploading the bold version will not really help.

Of course it'll help, using h1 strong {font-family: 'bold-family';} just targets the bold h1 letters in a title.

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

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

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

 Did I help? Buy me a coffee?

Link to comment
8 minutes ago, onika said:

Thank you so much.

No problem, glad you have that working now!

Thanks for the upvote!

Edited by Ziggy

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

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

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (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.