Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Footer Reveal on Scroll


ievavi

Question

  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Could you try this @media only screen and ( min-width: 640px ) and ( max-width: 768px ) { .Site { margin-bottom: 505px; /*This may to be adjusted depending on the content of your fo

Ba! You are amazing! Thanks so much!! I will keep this post up since I saw other people were looking for a solution 🙂 Best, Ieva

@bangank36 Hello! I was wondering if you can tell me why this code isn't working on my site? https://www.erobertson.design/ I'm using the Jasper (York) template and trying to achieve the sam

Posted Images

10 answers to this question

Recommended Posts

  • 1
1 hour ago, ievavi said:

Site URL: https://www.ievaviphoto.com

Hello, there!

I'm trying to achieve a similar result to one in the example (parallax footer / slide out footer upon scroll). May anyone would be able to give a hand?

Example: https://yatesdesign.com.au/divi-tutorial-reveal-footer-scroll/
My site: www.ievaviphoto.com

Thank you!
 

Could you try this

@media only screen and ( min-width: 640px ) and ( max-width: 768px ) {
      .Site {
         margin-bottom: 505px; /*This may to be adjusted depending on the content of your footer*/
        }

        .Footer {
         position: fixed;
         z-index: -1;
         height: 505px; /*This may to be adjusted depending on the content of your footer*/
         width: 100%;
         bottom: 0;
        }

        .Footer-inner {
         position: fixed;
         width: 100%;
         bottom: 0;
         padding: 10px 0;
        }
 
}

@media only screen and ( min-width: 768px ) {
      .Site {
         margin-bottom: 605px; /*This may to be adjusted depending on the content of your footer*/
        }

        .Footer {
         position: fixed;
         z-index: -1;
         height: 605px; /*This may to be adjusted depending on the content of your footer*/
         width: 100%;
         bottom: 0;
        }

        .Footer-inner {
         position: fixed;
         width: 100%;
         bottom: 0;
         padding: 10px 0;
        }
 
}

 

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0
6 hours ago, bangank36 said:

Could you try this


@media only screen and ( min-width: 640px ) and ( max-width: 768px ) {
      .Site {
         margin-bottom: 505px; /*This may to be adjusted depending on the content of your footer*/
        }

        .Footer {
         position: fixed;
         z-index: -1;
         height: 505px; /*This may to be adjusted depending on the content of your footer*/
         width: 100%;
         bottom: 0;
        }

        .Footer-inner {
         position: fixed;
         width: 100%;
         bottom: 0;
         padding: 10px 0;
        }
 
}

@media only screen and ( min-width: 768px ) {
      .Site {
         margin-bottom: 605px; /*This may to be adjusted depending on the content of your footer*/
        }

        .Footer {
         position: fixed;
         z-index: -1;
         height: 605px; /*This may to be adjusted depending on the content of your footer*/
         width: 100%;
         bottom: 0;
        }

        .Footer-inner {
         position: fixed;
         width: 100%;
         bottom: 0;
         padding: 10px 0;
        }
 
}

 

Ba! You are amazing! Thanks so much!! I will keep this post up since I saw other people were looking for a solution 🙂

Best,
Ieva

Link to post
  • 0
36 minutes ago, ievavi said:

Ba! You are amazing! Thanks so much!! I will keep this post up since I saw other people were looking for a solution 🙂

Best,
Ieva

you're great!

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0
5 hours ago, e_robertson said:

@bangank36 Hello! I was wondering if you can tell me why this code isn't working on my site?

https://www.erobertson.design/

I'm using the Jasper (York) template and trying to achieve the same effect. Any pointers would be appreciated.

try

#page {
  	margin-bottom: 255px; /*This may to be adjusted depending on the content of your footer*/
}

#footer {
    position: fixed;
    z-index: -1;
    height: 225px; /*This may to be adjusted depending on the content of your footer*/
    width: 100%;
    bottom: 0;
}

 

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0

@bangank36 Thank you so much – that's worked a treat! Any pointers for how I should adjust this code for mobile?

Do you also know if it's possible to prevent the footer from appearing until the user has scrolled all the way to the bottom of the page? It currently appears as the user approaches the bottom, rather than when the reach the bottom.

Link to post
  • 0
On 3/12/2021 at 6:02 PM, e_robertson said:

@bangank36 Thank you so much – that's worked a treat! Any pointers for how I should adjust this code for mobile?

Do you also know if it's possible to prevent the footer from appearing until the user has scrolled all the way to the bottom of the page? It currently appears as the user approaches the bottom, rather than when the reach the bottom.

Hi. Do you still need help on this?

Link to post
  • 0
20 minutes ago, tuanphan said:

Hi. Do you still need help on this?

No, but thank you for asking. I fixed the desktop issues by adjusting the #page margin-bottom and the #footer height, and I decided not to have the effect on mobile.

On desktop, the footer appears for a short flicker when the page loads, before disappearing. I have attached a screenshot. Do you know if I can prevent this, or just have to live with it?

Screenshot 2021-03-23 at 10.50.40.png

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...