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 trialKevin DeLaune
579 PointsThe Calc function doesn't apply to all browser sizes...
Resizing the browser down to the Mobile Version size, the footer doesn't stick using this Calc Function. This should have been shown IN the video, since we are targeting mobile sizes. Resizing down to a mobile size, the footer jumps back up from the bottom.
1 Answer
Tomas Novy
9,421 PointsHi Kevin,
It is because Guil created new css rule that targets .wrap { } under media query with min-width 769px. If you like to add this rule in the mobile view also, feel free to copy that rule and add it to Layout Containers of your css file.
ywang04
6,762 Pointsywang04
6,762 PointsThanks you so much. :)
Oleg Mogytych
10,684 PointsOleg Mogytych
10,684 PointsWas on my way to post this issue as well with solution just to replace outside of media query :) In this case, there is no reason to copy and keep two similar code's parts in CSS file, correct? So it's not copying, it's replacing