Jump to content

Custom Font Not Showing

Go to solution Solved by nawilkes,

Recommended Posts

Hi All,

I've installed a custom font per these instructions,  via this code:

@font-face {
    font-family: ‘TrendSansOne’;
    src:   url('https://static1.squarespace.com/static/66d86ed977996d586cb2bfee/t/66e7319d83a96a7365192fc5/1726427549678/TrendSansOne.woff2') format('woff2');
  }

h1, h2, h3, h4 {
  font-family: ’TrendSansOne’;

However, the font is not showing on the website. Can anyone tell me what I'm getting wrong?

URL: https://ladybug-rose-6wt4.squarespace.com/
Password: PhilipIsTheBest!


Thanks,
Nick

Link to comment
  • Replies 2
  • Views 312
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

@nawilkes Hi! The issue is with the single quotation marks used around the font name. To fix it, replace the curly quotes with standard straight quotes ('). Here's the corrected version:

@font-face {
    font-family: 'TrendSansOne';
    src: url('https://static1.squarespace.com/static/66d86ed977996d586cb2bfee/t/66e7319d83a96a7365192fc5/1726427549678/TrendSansOne.woff2');
}

h1,h2,h3,h4 {
    font-family: 'TrendSansOne';
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? 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.