ThomasMarks Posted September 27, 2022 Posted September 27, 2022 Site URL: http://www.markscalil.com Hello - Custom font (Sackers Gothic) for headers isn't showing on my site www.markscalil.com – it was working for several days after launch but for the last three days has dropped in and out. Custom font does currently show on incognito/private mode on Chrome/Safari. Any way to stabilise the font? Thank you!
Ziggy Posted September 27, 2022 Posted September 27, 2022 Since it appears to be working correctly at the moment, could you share here the Custom CSS that you've added to your website to add the font, just in case someone can spot an error that might be causing the instability? Thanks! 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
ThomasMarks Posted September 27, 2022 Author Posted September 27, 2022 Thanks Ziggy. I tweaked the CSS this afternoon and it seems to be functioning on desktop for now. Font not pulling through on mobile though, although it does show on the mobile viewer on the Squarespace editing platform. Code here: @font-face { font-family: 'Sackers Gothic'; src: url('https://static1.squarespace.com/static/631f5c354b5628025282309e/t/631f6bced487a51640e656a5/1663003598455/SackersGothicStd-Medium.otfFontURL'); } h1 {font-family: 'SackersGothicStd-Medium'} .header-title-text { font-family:'SackersGothicStd-Medium' } h2 {font-family: 'SackersGothicStd-Medium'} .header-title-text { font-family:'SackersGothicStd-Medium' !important } h3 {font-family: 'SackersGothicStd-Medium'; } .header-title-text { font-family:'SackersGothicStd-Medium'; } h4 {font-family: 'SackersGothicStd-Medium'; } .header-title-text { font-family:'SackersGothicStd-Medium'; } h3 {font-family: 'SackersGothicStd-Medium'; } .header-display-mobile .header-title-text { font-family:'SackersGothicStd-Medium'; }
tuanphan Posted September 28, 2022 Posted September 28, 2022 The font file url in your code doesn't exist. You should check it again Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ThomasMarks Posted September 29, 2022 Author Posted September 29, 2022 Thanks both. Think I have fixed with a new font file tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment