Jump to content

Custom Code Not Displaying On One Person's Browser

Recommended Posts

I've used a custom font on my site. It displays on every browser I tried it on apart from my friend who is using Chrome.
I assume the issue is with my friend's browser, but I'm not sure and want to make sure my site is watertight before handing it over.

The first image is the correct one.

Correct Version.png

Incorrect Version.png

Link to comment
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Thanks for sharing, I can't see an issue in my testing, can you share the CSS code you used for the custom font?

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

Here you go my man
//---Custom Fonts---//
@font-face {
  font-family: 'aldine-401-italic-bt';
  src: url('https://static1.squarespace.com/static/63a0d5c0d3b7cc5b3a17657a/t/63a0d686f6cd273e254d4027/1671485062982/aldine-401-italic-bt.ttf');
}
h1, h2, h3, h4, h5, p {
  font-family: aldine-401-italic-bt;
}
header#header *, footer.sections * {
  font-family: aldine-401-italic-bt;
}

Link to comment

Looking at that, I can't see a specific reason why it wouldn't be working.

You could try setting the font to the most similar serif font in the font settings so that if it doesn't load the custom font correctly it still looks closer to correct.

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.