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

HTML How to Make a Website Styling Web Pages and Navigation Polish the Navigation and Footer

Andrea Dinh
Andrea Dinh
4,946 Points

CSS: Display issue with <footer> in mobile size

Hello,

I didn't follow the tutorial exactly and added some texts beside each icon. Here's the index file: http://imgur.com/MHOI1lj and CSS file: http://imgur.com/K3a9gwi and here's my <footer> in scaled version: http://imgur.com/MQrrur4

Does anyone know how to make the icon and text aligned and change sizes as we scale? Thanks

1 Answer

Austin Whipple
Austin Whipple
29,725 Points

You'll want to add media queries to your CSS files so that when your footer links/text start to wrap, you instead force them to 100% width.

I highly recommend looking into the responsive layout courses in the Library for more information.