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 trialJanis Felsted
2,451 PointsDo I need to download a different CSS file because my shirts aren't displaying as a grid?
The lesson shows the products/shirts displaying in rows of four, but my shirts are displaying separately, each one below the one before.
3 Answers
Paul Brophy
10,673 PointsOkay I see. Is there any chance that you could paste your written code into a reply?
In response to your original question, you don't need to add any additional CSS. The styles for the products are from line 614 to 654. :)
Did you add the 'products' class to the ul?
<ul class="products">...
Paul Brophy
10,673 PointsHi Janis,
Are you able to tell me which lesson this particular question refers to? I don't think I've actually watched this one myself.
Janis Felsted
2,451 PointsThe course is "Build a Simple PHP Application. The section is "Listing Inventory Items" and the problem started at lesson "Displaying All Products".
Paul Brophy
10,673 PointsAwesome! Glad I could help. :)
Janis Felsted
2,451 PointsJanis Felsted
2,451 PointsTHANKS! I missed adding one of the classes to the div. I had the class you suggested, but your question prompted me to look through the rest of my code for missing classes.
Thanks for taking time to help me with this :)