Jump to content

Setting up snap-scrolling to homepage sections

Recommended Posts

Site URL: https://www.strongcommunitiesfund.org

Hello! I have very little coding knowledge, but my client has asked that I set up snap-scrolling for the homepage sections similar to the homepage of this site: https://forterra.org/

My theme doesn't have indexes, but I understand there is a way to set this up with CSS. Hoping someone can help me out with the code needed/ specific instructions for setting it up so that I can snap scroll to specific sections of the page. 

Site password is: December2020

Thanks!

Link to comment
  • 1 month later...
  • 3 weeks later...
6 hours ago, Winther said:

Scrollify?

Does anyone have a full code tutorial for how to insert jQuery into the advanced settings? 

I found a link to a tutorial with some code but I have no idea how to implement. Hope someone can help me out? https://projects.lukehaas.me/scrollify/#home

 

Thanks and kind regards

René

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.21/jquery.scrollify.min.js" ></script>
<script>
$(document).ready(function() {
          $.scrollify({
            	section : ".page-section",
          });
});
</script>

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
  • 2 weeks later...
On 4/6/2021 at 3:07 PM, LukasEriksen said:

@bangank36 How would I go about having this script only targeting my home page? 

My Site is lukaseriksen.com

Hover homepage on Main Navigation or Not Linked >> CLick gear icon to opan Page Header > Advanced > Paste the code

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.21/jquery.scrollify.min.js" ></script>
<script>
$(document).ready(function() {
          $.scrollify({
            	section : ".page-section",
          });
});
</script>

 

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
On 4/12/2021 at 7:25 AM, tuanphan said:

Hover homepage on Main Navigation or Not Linked >> CLick gear icon to opan Page Header > Advanced > Paste the code


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.21/jquery.scrollify.min.js" ></script>
<script>
$(document).ready(function() {
          $.scrollify({
            	section : ".page-section",
          });
});
</script>

 

Thanks for the reply! I've tried doing this, but it seemingly does nothing. When i put the code in the code injection footer area it works however, just not only on my homepage.

My site url is lukaseriksen.com

Link to comment
  • 2 years later...

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.