Jump to content

Recommended Posts

  • 6 months later...
10 hours ago, viraksrey said:

@Cadel i see you did this successfully! would you mind sharing what you ended up doing?

I see the site used this code

@media screen and (min-width:960px) {
section[id*='split-left'] .Index-page-content {
    position: relative;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky !important;
    top: 120px;
    min-height: 90vh !important;
}
section[id*='split-left'] {
    width: 50% !important;
    padding: 0px 0px;
    overflow: inherit;
}}

 

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
  • 1 year later...
On 2/24/2022 at 7:08 AM, scdavid said:

Hi there, is this possible to be done on one page? If so, how can I go about doing that?

Edit page >> Add a Code Block (anywhere) > Paste this code

<style>
  @media screen and (min-width:960px) {
section[id*='split-left'] .Index-page-content {
    position: relative;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky !important;
    top: 120px;
    min-height: 90vh !important;
}
section[id*='split-left'] {
    width: 50% !important;
    padding: 0px 0px;
    overflow: inherit;
}}
</style>

 

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

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.