Jump to content

Need Help with Sticky Section (SQSP 7.1)

Recommended Posts

Site URL: https://brass-finch-d2nk.squarespace.com/

I'd like to have the left section on my Contact page sticky while the form section on the right is scrollable. I've tried literally every code and have even purchased third-party plugins, but none of them seem to work. And this has been going on for months, and I still haven't figured out a solution. 

Here's the basic code that I've tried: 

[data-section-id="goes here"] {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
}

Any help is greatly appreciated! 

Password: guam

Link to comment
On 7/8/2021 at 11:07 PM, cheltongomez said:

Site URL: https://brass-finch-d2nk.squarespace.com/

I'd like to have the left section on my Contact page sticky while the form section on the right is scrollable. I've tried literally every code and have even purchased third-party plugins, but none of them seem to work. And this has been going on for months, and I still haven't figured out a solution. 

Here's the basic code that I've tried: 

[data-section-id="goes here"] {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
}

Any help is greatly appreciated! 

Password: guam

Wonder if you have asked the plugin author that you purchased about this

But I checked your page and notice that you set the #page container overflow-x hidden, while position sticky only work with overflow:visible container, you may want to edit the css a bit

image.thumb.png.0982e76eb59e0de925936d21394f7248.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.