How to make the Footer Sticky & Header

Hello,

I’m working on a prototype and would like to use Figma, but I have no idea how to make the Footer Sticky along with the Header Sticky on scroll. I can fix the position of the header, but when I try to make the footer sticky “clicking the Fix position when scrolling” it does not show-up in my prototype.

Anyone have experience with this?

Thanks
ron

Along with making the Position fixed, you have to play and maintain the constraints. If it’s a header you have to make the constraints top to either “Center” or “Left and Right” and click the bottom constraints. Same for the header except mark on the “top” instead of “bottom”.

Second thing to consider is that, The footer layer should be group into frame. Group does not work.

image

I believe I have answered your query. If not please let me know. I will try to make it clear.

Hi Thapa,

Thanks that worked out! I struggled to find an answer w/o asking to the community directly. I will be able to solve my problem now :slight_smile:

1 Like

I would suggest a more scalable and up to date way to do it via auto-layout.

  • Your main frame is auto layout
  • Your content frame is set to fixed height and vertical scroll in on
  • Make sure your content is taller than the frame height.

In this approach you can use auto-layout way better and have better scroll smoothness. That’s how I do it anyway

1 Like

I am glad that it helps you out.