Jump to content

How Can I Make A Specific Section Sticky With Scroll

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

1 hour ago, thejschweigert said:

Site URL: https://www.joshuaschweigert.com/about

I'm trying to make a table of contents on my really long "about me" page sticky in the sidebar for desktop only. Thank you!

Screen Shot 2021-11-30 at 7.56.06 PM.png

You can try adding to Home > Design > Custom Css

section[data-section-id="618b3c0c2555ae4fcb2506f9"]
  .sqs-layout
  > .row
  > .col:first-child {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  left: 0;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

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.