acherrylife Posted April 30 Share Posted April 30 Hi, I have added the following custom CSS to my site to change the H4 to a different font and styling: h4{ font-family:'Brandon Grotesque'; font-weight:600; line-height:1.8em; font-style:normal; letter-spacing:0.2em; text-transform:uppercase; } It is working perfectly on my desktop for both the web and mobile view but when i view it on my mobile device it is not pulling through with the custom font. Any ideas on what i can do to fix this? Thank-you! Link to comment
Ziggy Posted April 30 Share Posted April 30 Can you share your website URL? What device are you experiencing the issue on? 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
acherrylife Posted April 30 Author Share Posted April 30 Hi, Sure it's: https://beccacherry.com/ The issue is on an iphone. Thanks Link to comment
Solution Ziggy Posted April 30 Solution Share Posted April 30 iPhones seem to be a constant problem for custom fonts. Try this: h4 { font-family:'brandon-grotesque'; font-weight:600; line-height:1.8em; font-style:normal; letter-spacing:0.2em; text-transform:uppercase; } kot-imakeli3 and acherrylife 2 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
acherrylife Posted April 30 Author Share Posted April 30 It worked! Thanks so much for your speedy help.😊 Ziggy 1 Link to comment
Ziggy Posted April 30 Share Posted April 30 6 minutes ago, acherrylife said: It worked! Thanks so much for your speedy help.😊 Happy to help, thanks for marking my post as the solution! 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
ElizaAudreyS Posted May 3 Share Posted May 3 I seem to be having the same issue, My custom font (T-Star) appears to be working on my desktop but when i preview it on my iphone it is not working and appears as a different font. How can i fix this? I have copied and pasted my custom font code below: @font-face { font-family: ‘tstar’; src: url(https://static1.squarespace.com/static/65effac229233b5507fbdd10/t/65f405fe8351ba4a3b854cb8/1710491134228/TSTAR-Regular.ttf); } h1 {font-family: 'tstar';} h2 {font-family: 'tstar';} h3 {font-family: 'tstar';} h4 {font-family: 'tstar';} p1 { font-family: 'tstar';} .sqsrte-large { font-family: 'tstar';} p2 { font-family: 'tstar';} .sqsrte-small { font-family: 'tstar';} p3 { font-family: 'tstar';} .sqsrte-small { font-family: 'tstar';} monospace {font-family: 'tstar';} Link to comment
tuanphan Posted May 5 Share Posted May 5 On 5/3/2024 at 7:53 AM, ElizaAudreyS said: I seem to be having the same issue, My custom font (T-Star) appears to be working on my desktop but when i preview it on my iphone it is not working and appears as a different font. How can i fix this? I have copied and pasted my custom font code below: @font-face { font-family: ‘tstar’; src: url(https://static1.squarespace.com/static/65effac229233b5507fbdd10/t/65f405fe8351ba4a3b854cb8/1710491134228/TSTAR-Regular.ttf); } h1 {font-family: 'tstar';} h2 {font-family: 'tstar';} h3 {font-family: 'tstar';} h4 {font-family: 'tstar';} p1 { font-family: 'tstar';} .sqsrte-large { font-family: 'tstar';} p2 { font-family: 'tstar';} .sqsrte-small { font-family: 'tstar';} p3 { font-family: 'tstar';} .sqsrte-small { font-family: 'tstar';} monospace {font-family: 'tstar';} Please check 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!) 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