Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

Sticky Footer

Avatar

Level 1

Hi, I want to add a sticky footer to my page that always remains at the bottom of the screen despite the scrolling and length of the page. What should be my strategy? I have tried to make a container sticky and add my component to that didn't work.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Try https://www.codeinwp.com/snippets/sticky-footer-with-css/ for creating sticky footer and in your page component keep footer container under the html snippet for sticky footer .

 

Thanks

Himanshu

Himanshu Jain

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Try https://www.codeinwp.com/snippets/sticky-footer-with-css/ for creating sticky footer and in your page component keep footer container under the html snippet for sticky footer .

 

Thanks

Himanshu

Himanshu Jain