RosieRose Posted May 2 Share Posted May 2 Hi! I'm a designer and I just launched a fresh site using the Impact template in SquareSpace. We noticed that when we view our site on our phones (I'm specifically on an iPhone13) that the text breaks in the middle of a word instead of being responsive to the screen size. I pulled code off of ChatGPT and tried it in a few areas on the site. 1. Design, Custom CSS 2. In the advanced area of the homepage settings. Below is the two snippets I tried... <style> /* Default font size for homepage */ .homepage .responsive-text { font-size: 16px; } /* Adjust font size for smaller screens */ @media only screen and (max-width: 768px) { .homepage .responsive-text { font-size: 14px; } } /* Adjust font size for even smaller screens */ @media only screen and (max-width: 480px) { .homepage .responsive-text { font-size: 12px; } } </style> AND /* Example code for making a specific text element responsive */ @media only screen and (max-width: 768px) { .your-text-element { font-size: 14px; } } @media only screen and (max-width: 480px) { .your-text-element { font-size: 12px; } } I'm thinking I need to adjust something more in this code, maybe the .yourtextelement, I'm not sure about the @media portion, etc. I'm not great with CSS, and I do minimal coding. Attached is the view I'm trying to fix. Any help is appreciated, thank you! Link to comment
tuanphan Posted May 4 Share Posted May 4 Can you share link to homepage? 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
RosieRose Posted May 5 Author Share Posted May 5 Yes, here it is: https://www.leadershipdelta.com/ Thank you! Link to comment
Solution tuanphan Posted May 8 Solution Share Posted May 8 Try adding to DESIGN > CUSTOM CSS @media screen and (max-width:900px) { div#block-c9b0b89a4605baad455b .image-title p { font-size: 25px; } } 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
RosieRose Posted May 8 Author Share Posted May 8 That worked! Thank you SO much, this is beyond helpful!! tuanphan 1 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