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
Daniele Manca
10,986 PointsTesting flex-direction column on mobile
Am trying to display the footer blocks on the project I am working on as 1 column with flex-direction column, however when I test on small device width on my laptop it worked fine, but when I tested on my mobile device not:
http://www.danielemanca.co.uk/urban-rescue-therapy/
Can anyone suggest why? For instance the social icons and copyright info are misplaced to the right, instead of being center aligned...
2 Answers
Mattea Turnbull
4,134 PointsBecause on mobile your top menu does not fit properly. Try this - on a desktop computer, narrow your browser window. You'll see a scrollbar appear, and if you scroll to the top, you'll see your top menu is making the page stay too wide. Fix that, and your footer should fix.
Mattea Turnbull
4,134 PointsDo you have an older phone? Flexbox may have issues with android browser for instance (if you are on an older phone, download and check in Chrome)
Daniele Manca
10,986 Pointsi fixed the issue in the end, it had to do with block spacing
Daniele Manca
10,986 PointsDaniele Manca
10,986 PointsThanks Mattea, you're right :)
Daniele Manca
10,986 PointsDaniele Manca
10,986 PointsI have now fixed the nav but the problem in the footer persists when I view the site on my mobile phone, weird...