JanetMarieG Posted September 15 Share Posted September 15 When I look at the mobile format in Squarespace everything is spaced correctly, but on my phone the headlines break. I know that's because my phone screen must be a smaller dimension, but I can't figure out how to make JUST the mobile font smaller so it will fit on one line (for header 1) and not break mid-word (for header 2). I'm using the Basil template. Link to comment
Ziggy Posted September 15 Share Posted September 15 Add this to Custom CSS: h1, h2, h3, h4 { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
JanetMarieG Posted September 15 Author Share Posted September 15 Thanks! Where do I find the Custom CSS input? Ziggy 1 Link to comment
Ziggy Posted September 15 Share Posted September 15 Website -> Website Tools (scroll to bottom) -> Custom CSS, paste that code in and save. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
JanetMarieG Posted September 15 Author Share Posted September 15 There weren't any website tools, but I went to Website Settings > Developer Tools > Code Injection. I put the code in but it comes up in the design instead of changing anything. Link to comment
tuanphan Posted September 17 Share Posted September 17 On 9/15/2023 at 9:24 PM, JanetMarieG said: There weren't any website tools, but I went to Website Settings > Developer Tools > Code Injection. I put the code in but it comes up in the design instead of changing anything. If you add to Code Injection, you need to wrap code in style tag, unless it will appear in above header, like as your screenshot <style> h1, h2, h3, h4 { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important; } </style> Ziggy 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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