Jump to content

Custom font not reflecting

Recommended Posts

  • Replies 6
  • Views 485
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Can you share how you've tried to add the font? The entire CSS?

From this snippet you've shared, you haven't placed the URL of the file upload:

Look at this guide:

https://squarefortytwo.com/squarespace-guides/custom-fonts-on-squarespace-71

image.png

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

@Ziggy
Thank you 
can you help me this  is the code i have on the site 

https://static1.squarespace.com/static/64b1d38ab1ba604665f8089e/t/66cabff5fb511101bb41f316/1724563446569/MCSequoia-Thin.otfhttps://static1.squarespace.com/static/64b1d38ab1ba604665f8089e/t/66cabff5fb511101bb41f316/1724563446569/MCSequoia-Thin.otfhttps://static1.squarespace.com/static/64b1d38ab1ba604665f8089e/t/66cabffd1347712fcdce30d7/1724563454137/MCSequoia.otf/* Import Custom Fonts */
@font-face {
    font-family: 'MCSequoiaBold';
    src: url('MCSequoia-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MCSequoiaThin';
    src: url('MCSequoia-Thin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Apply Fonts Globally */
h1, h2, h3, h4, h5, h6 {
    font-family: 'MCSequoiaBold', sans-serif;
}

p, a, span {
    font-family: 'MCSequoiaThin', sans-serif;
}

/* Custom Styles for Specific Elements */
.site-title {
    font-family: 'MCSequoiaBold', sans-serif;
}

.nav-item, .footer-text {
    font-family: 'MCSequoiaThin', sans-serif;
}

Link to comment

Replace your code with this:

/* Import Custom Fonts */
@font-face {
    font-family: 'MCSequoiaBold';
    src: url('https://static1.squarespace.com/static/64b1d38ab1ba604665f8089e/t/66cabffd1347712fcdce30d7/1724563454137/MCSequoia.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MCSequoiaThin';
    src: url('https://static1.squarespace.com/static/64b1d38ab1ba604665f8089e/t/66cabff5fb511101bb41f316/1724563446569/MCSequoia-Thin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Apply Fonts Globally */
h1, h2, h3, h4 {
    font-family: 'MCSequoiaBold', sans-serif;
}

p, .sqsrte-large, .sqsrte-small  {
    font-family: 'MCSequoiaThin', sans-serif;
}

/* Custom Styles for Specific Elements */
.site-title {
    font-family: 'MCSequoiaBold', sans-serif;
}

.nav-item, .footer-text {
    font-family: 'MCSequoiaThin', sans-serif;
}

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
3 minutes ago, Shellyj said:

Thank you @Ziggy
everything has been changed except the tabs for pages and the book a cabin button

You can try adding this to CSS:

:root {
 --body-font-font-family: 'MCSequoiaThin';
 --heading-font-font-family: 'MCSequoiaBold';
 --meta-font-font-family: 'MCSequoiaThin';
 --primary-button-font-font-family: 'MCSequoiaBold';
 --secondary-button-font-font-family: 'MCSequoiaBold';
 --tertiary-button-font-font-family: 'MCSequoiaBold';
}

You haven't shared your website URL, so I can check.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox 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.