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 How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

can't get three columns?

I think my code's o.k., but my Portfolio images just stay at two columns, regardless of screen width?

Chris Higgins
Chris Higgins
6,813 Points

If you dont mind posting your code. we can take a look at it.

Hi Bill,

You can either post your code for responsive.css or you can take a snapshot of your workspace.

https://teamtreehouse.com/forum/workspace-snapshots

1 Answer

Hi Bill,

It's difficult to know the exact problem without seeing your code but my best guess is that you made an error (such as a typo) with your media query for the gallery images.

I can't even tell you how many times I would get so frustrated about something not working properly only to realize it was just a simple typo.

You should have the following css included in your stylesheet:

@media screen and (min-width: 480px) {
  #gallery li {
    width: 28.3333%
  }
}

I hope this helps!

David