Skip to main content

Posts

Showing posts from December, 2022

Anchor footer to the bottom of the page

Isn't it super annoying how the footer in Aura templates jump around? I've got a solution for you. The exact CSS override you need to do might vary based on the template you're using, but here's sample code that should do the trick. /* anchor footer to bottom of page */ .siteforceThemeLayoutStarter { min-height: 100vh; position: relative; } .siteforceContentArea { padding-bottom: 3rem; } .footer { bottom: 0; height: 3rem; position: absolute; width: 100%; } You need to update the rem to handle the height of your footer.