Jump to content

Scrolling past header

Recommended Posts

  • Replies 2
  • Views 436
  • Created
  • Last Reply

Hi @tuanphan I'm just trying to eliminate the ability to scroll past the top/bottom of the page. At the moment if you're at the top and scroll up, the website continues endlessly.

I think the culprit might be the Scroll Snapping CSS that I added:

html, body {

  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
  
  }
#collection-6027fc67f77fd8663b87f8b1 
  .page-section {

  scroll-snap-align: start;
  scroll-snap-stop: always;
  
  }

 

Link to comment

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.