Jump to content

Spilt Layout on 7.1

Recommended Posts

Site URL: https://www.marlacinilia.com/home-option-2

I am trying apply a spilt screen layout the first section of my homepage with CSS.

I am using the following code but the change has now been applied to my footer as well. I do not want this. Can anyone advise how to ensure the change is only applied to the first section?

 <style>.page-section:nth-child(1){background-color:#4D5C42!important;} @media only screen and (min-width: 768px){ .page-section:nth-child(1) .section-background {width:50%!important; margin-left:50%!important}}<style>

Link to comment
  • Replies 1
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.