Creating a sticky footer with Partitions

I want to create a footer that sticks to the bottom of the viewport. I tried to do this with Partitions. My design does not have sidebar so I set the sidebar width to 0 and all paddings to 0. It sort of worked but I couldn’t get rid of the mobile sidebar toggle and the footer padding wasn’t right (I set it to 0 in Partitions but the padding set within the footer didn’t apply). Is there a way of getting this to work - or, if not, would you consider including a version of Partitions in the next release that doesn’t force you to have a sidebar? Thanks

Not sure about the partitions but there is a bootstrap class “fixed-bottom” that can be applied to your footer to fix it in place.

Is there any particular reason you’re using Partitions for the footer?

Personally I’d just be using a full width Background stack, with a Spacing stack inside, and then add a Column/grid stack to build the footer you want.

Give the Pin tool, which comes with Foundry a look.

1 Like

Thanks Adam - how come I missed that? Perfect.

1 Like

There’s a lot of tools in Foundry to take in. Glad to get you a solution.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.