Jump to content

Help with Snap Scrolling Footer

Recommended Posts

Hi everyone! I'm having trouble with the footer section of my homepage regarding scroll snapping. I used code written in another post in this forum (https://forum.squarespace.com/topic/171837-how-to-do-snap-scrolling-for-squarespace-71/)

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

The snapping works great and every page is full sized, however, the footer also acquires the characteristics of the other sections and is locked to full screen, I can't reduce its size. I need to have full screen sections that snap but maintain the footer narrow. Can anyone help me?

Edited by LosDosUno
Link to comment

Try change to this

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
<script>
        $(function() {
          $.scrollify({
            section : "#page .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 7/25/2023 at 7:58 PM, tuanphan said:

Try change to this

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
<script>
        $(function() {
          $.scrollify({
            section : "#page .page-section",
          });
        });
</script>)

 

Should I replace de # in "#page .page-section" with the number of the sections on which I want to apply the snap scroll or just leave it as is?

 

Also, once I uploaded your code, the small sand-colored bar appeared atop my header and I can't seem to take it out.

Screenshot 2023-07-28 104849.png

Edited by LosDosUno
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.