MariG Posted November 3, 2021 Share Posted November 3, 2021 Site URL: http://www.goldentemplehealing.com Hi, The site title "Golden Temple Healing" that is listed in white on the flower Hero Banner looks fine and has all three words in one row on Desktop, Tablet, and even in the Squarespace Mobile preview; however, on my iPhone via Safari browser, the title is breaking so it looks like the attached photo. The title is listed as "Golden Temple Heal-" and then "ing" is on the next line down. Does anyone know custom CSS or if there is a way to help with the line break for mobile specifically? I don't want to change it for any of the other formats besides mobile. This website was built in the Brine 7.0 template. I'm new to Squarespace so simple directions would be very helpful, especially if you provide custom CSS code. Thank you so much!!! Link to comment
Beyondspace Posted November 5, 2021 Share Posted November 5, 2021 On 11/4/2021 at 4:06 AM, MariG said: Site URL: http://www.goldentemplehealing.com Hi, The site title "Golden Temple Healing" that is listed in white on the flower Hero Banner looks fine and has all three words in one row on Desktop, Tablet, and even in the Squarespace Mobile preview; however, on my iPhone via Safari browser, the title is breaking so it looks like the attached photo. The title is listed as "Golden Temple Heal-" and then "ing" is on the next line down. Does anyone know custom CSS or if there is a way to help with the line break for mobile specifically? I don't want to change it for any of the other formats besides mobile. This website was built in the Brine 7.0 template. I'm new to Squarespace so simple directions would be very helpful, especially if you provide custom CSS code. Thank you so much!!! Have you solved it? I've checked and it seems find currently BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
MariG Posted November 6, 2021 Author Share Posted November 6, 2021 Hi, Thank you for checking. No, the title is still breaking on my iPhone 11. What version are you looking on? Link to comment
tuanphan Posted November 7, 2021 Share Posted November 7, 2021 11 hours ago, MariG said: Hi, Thank you for checking. No, the title is still breaking on my iPhone 11. What version are you looking on? Try adding this to Design > Custom CSS p,h1,h2,h3 { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important } 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
MariG Posted November 7, 2021 Author Share Posted November 7, 2021 Thank you SO much. I really appreciate your help. The custom CSS worked and the title looks perfect on my iPhone now. Link to comment
freeto Posted March 31, 2022 Share Posted March 31, 2022 I am having the same issue! I don't know custom CSS very well - does it matter where I copy the code into the Custom CSS section? Link to comment
tuanphan Posted March 31, 2022 Share Posted March 31, 2022 17 hours ago, freeto said: I am having the same issue! I don't know custom CSS very well - does it matter where I copy the code into the Custom CSS section? Yes. Anywhere in Custom CSS. But you should add to top or bottom of Custom CSS box. Also, it looks like you are using custom code to add dropdown accordion? SS has already accordion block, so you can add it without using code 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
NickyNZ Posted September 27, 2023 Share Posted September 27, 2023 When I am editing my site, it looks fine in mobile view but when I look at the site live on my iPhone this is how it appears. It breaks the word into another line - how do I keep words together? Link to comment
tuanphan Posted October 1, 2023 Share Posted October 1, 2023 On 9/27/2023 at 12:32 PM, NickyNZ said: When I am editing my site, it looks fine in mobile view but when I look at the site live on my iPhone this is how it appears. It breaks the word into another line - how do I keep words together? Try this CSS to remove hyphen p,h1,h2,h3, body * { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important } 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