Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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