Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
index.php page doesn't show the content proper way
I looks like css file doesn't work on the index.php.I haven't made any change the downloaded code.
unordered list items doesn't display the elements inline block it displays as a block item and large images.
If your index page has
then change "catalog" to "items". The css file is expecting that class to be "items".
Also, later when you create the catalog.php page there will be a
ul on that page too. Make sure you give it a class of "items" as well.
Sebastian Karg28,704 Points
I have the same issue. Set up my project localy on a MAMP Server, using Brackets as Editor and Chrome Browser for preview. Never had problems with that setup so far, but after renaming the index.html to index.php and refreshing the page the style.css doesn't load. However if I open style.css and try to change something it loads perfectly until I refresh index.php.
Does anyone have an idea how to fix this issue?