Shellyj Posted September 9 Share Posted September 9 Hello please I need a quick help I am trying to use my brand custom font for my website I will attach image I have upload the font file but it's still not reflecting i am not sure i used the correct css code Link to comment
Shellyj Posted September 9 Author Share Posted September 9 @paul2009Hi Paul please can you help with this I want to have the website launch soon but i can't because of this Link to comment
Ziggy Posted September 9 Share Posted September 9 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 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
Shellyj Posted September 9 Author Share Posted September 9 @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
Ziggy Posted September 9 Share Posted September 9 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
Shellyj Posted September 9 Author Share Posted September 9 Thank you @Ziggy everything has been changed except the tabs for pages and the book a cabin button Ziggy 1 Link to comment
Ziggy Posted September 9 Share Posted September 9 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment