Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Ben Ja
PLUS
Ben Ja
Courses Plus Student 5,707 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
231,236 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 5,707 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