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

Daniel Friend
Daniel Friend
2,339 Points

responsive.css not properly formatting gallery. Can you help?

I added the nth child property and am unable to get my gallery to display properly on larger screens.

Here is my snapshot:

https://w.trhou.se/8w6p713vb7

1 Answer

Try taking out the n.

Daniel Friend
Daniel Friend
2,339 Points

I actually got the page to format properly by refreshing the page a few more times. Though I did take out the n and it still worked.

The issue has been resolved

Taking out the n isn't a good idea if you're going to have more than 6 images.

Also, there's a correction in the Teacher's Notes for this video. The correct nth-child expression is 3n + 1