Skip to content

Push Footer to bottom of viewport

Original guide · All levels

We start with a page with the usuals, a Navbar, a Main section and a Footer. As you can see, the Footer clings to the bottom of the Main section. To push the Footer to the bottom of the page when ther

We start with a page with the usuals, a Navbar, a Main section and a Footer. As you can see, the Footer clings to the bottom of the Main section.

Section titled “To push the Footer to the bottom of the page when there is not enough content in the Main section:”
  1. In the Structure panel, select the App node.

In the Properties panel, select Convert To: Flex Container

Section titled “In the Properties panel, select Convert To: Flex Container”
  1. In the Properties panel, select Convert To: Flex Container
  1. In the Structure panel, select Main.

In the Properties panel, under Flex Item, select Grow.

Section titled “In the Properties panel, under Flex Item, select Grow.”
  1. In the Properties panel, under Flex Item, select Grow.
Section titled “This has the effect of pushing the Footer to the bottom of the page.”
  1. Save the page and you are done.

For a video on the subject, see: