Sibylle_Zurich Posted March 14 Share Posted March 14 Hi there I want to adjust the font sizes on the mobile view of my webpage: https://www.elysia-living.ch/ PW: EL2024 Is it possible to make the claim "To infinity and beyond." a bit bigger and go to the next line with the second sentence of the subtext? Only for mobile. Many thanks Sibylle Link to comment
sorca_marian Posted March 14 Share Posted March 14 Hi, On which page? 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design 📅 Notion alternative 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
Sibylle_Zurich Posted March 14 Author Share Posted March 14 4 minutes ago, sorca_marian said: Hi, On which page? On the password-protected Lock screen. Link to comment
sorca_marian Posted March 14 Share Posted March 14 To increase the heading size on mobile add the below code in the Page header code injection <style> @media (max-width: 767px) { .lock-screen h1 { font-size : 40px!important } } </style> 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design 📅 Notion alternative 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
Sibylle_Zurich Posted March 15 Author Share Posted March 15 17 hours ago, sorca_marian said: To increase the heading size on mobile add the below code in the Page header code injection <style> @media (max-width: 767px) { .lock-screen h1 { font-size : 40px!important } } </style> Hi @sorca_marian Thank you so much, this worked. Can you also give me a code to adjust the size of the second smaller headline below? On my iPhone 12Pro the last word jumps into the next line. And I would like to have the whole content more down. (Headline, subheadline and password field) Thank you Sibylle Link to comment
sorca_marian Posted March 15 Share Posted March 15 (edited) Hi, Sure. You can adjust the font size <style> @media (max-width: 767px) { .lock-screen h1 { font-size : 40px!important } .lock-screen p { font-size : 15px!important } } </style> Edited March 15 by sorca_marian 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design 📅 Notion alternative 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
Sibylle_Zurich Posted March 16 Author Share Posted March 16 16 hours ago, sorca_marian said: Hi, Sure. You can adjust the font size <style> @media (max-width: 767px) { .lock-screen h1 { font-size : 40px!important } .lock-screen p { font-size : 15px!important } } </style> Thank you so much. And how do I move the whole block a bit more down? Thanks Sibylle Link to comment
Solution sorca_marian Posted March 16 Solution Share Posted March 16 You can update the margin from below <style> @media (max-width: 767px) { .restrict-width-1000 { margin-top : 30px!important; } .lock-screen h1 { font-size : 40px!important } .lock-screen p { font-size : 15px!important } } </style> Sibylle_Zurich 1 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design 📅 Notion alternative 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn 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