Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Grid Layout Going Further with Grid Layout Position Items by Grid Lines

Ben Ja
PLUS
Ben Ja
Courses Plus Student 4,710 Points

i am not getting sticky footer with display: grid;

i am not getting sticky footer as shown in tutorial. In tutorial it uses display: grid; . I did everything as mentioned in the video. Please help me with it. How do i get sticky footer with grid layout?? i have header, main, aside, footer in div tags, but footer is not sticky :(

Steven Parker
Steven Parker
218,596 Points

It would help if you share your code. You might want to take a look at this video about sharing a snapshot of your workspace.

1 Answer

Ben Ja
PLUS
Ben Ja
Courses Plus Student 4,710 Points

hey man, i got my answer in the same video as it was grid-template-rows: 100px minmax()200px, auto 100px; this made footer centered. thanks