Jump to content

Split Screen Layout on Mobile

Recommended Posts

Site URL: https://shark-magenta-t3ap.squarespace.com/contact

I have several areas on my site where I have made split screen layouts with CSS.

They work well on desktop but not so well on mobile view.

How can I set the image to display in a section above the text on mobile view?

Thank you! 

PW: SISUMAY2022

A brand designer & strategist creating brands that bridge the gaps between artistry, strategy, and thoughtful consideration. Creator of Studio Founded, a digital resource library for purposeful business owners. 
💻 Shop Squarespace Templates
✍️ Curated Business Resources

🥰 Complimentary Downloadables
🤍 Bespoke Branding & Websites

Links in my posts may be affiliate links.

Link to comment
  • Replies 4
  • Views 480
  • Created
  • Last Reply

Top Posters In This Topic

9 hours ago, tuanphan said:

You can consider adding 2 sections with first is background image, next is form, then we can give the code to make them side by side on desktop. And on mobile, the image will be always top.

--

Sounds good! Let's try it 🙂 I've added two new sections to the page so go side by side.

A brand designer & strategist creating brands that bridge the gaps between artistry, strategy, and thoughtful consideration. Creator of Studio Founded, a digital resource library for purposeful business owners. 
💻 Shop Squarespace Templates
✍️ Curated Business Resources

🥰 Complimentary Downloadables
🤍 Bespoke Branding & Websites

Links in my posts may be affiliate links.

Link to comment

First, increase Form Section Width. It is too small

Next, add this to Design > Custom CSS

/* Contact side by side */
@media screen and (min-width:768px) {
body#collection-6198f8a8d2e7a906da612f16 article section:nth-child(n+2) {
    width: 50% !important;
    float: left !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
9 hours ago, tuanphan said:

First, increase Form Section Width. It is too small

Next, add this to Design > Custom CSS

/* Contact side by side */
@media screen and (min-width:768px) {
body#collection-6198f8a8d2e7a906da612f16 article section:nth-child(n+2) {
    width: 50% !important;
    float: left !important;
}
}

 

Perfect! Thank you so much!!

A brand designer & strategist creating brands that bridge the gaps between artistry, strategy, and thoughtful consideration. Creator of Studio Founded, a digital resource library for purposeful business owners. 
💻 Shop Squarespace Templates
✍️ Curated Business Resources

🥰 Complimentary Downloadables
🤍 Bespoke Branding & Websites

Links in my posts may be affiliate links.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.