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.
Ryan Lucas6,946 Points
Bootstrap to make the site responsive to size do not work for the basic PHP website, Personal Media Library. Why?
I just wondered if anyone would be able to shed some light on why this doesn't work, or if I have made a mistake somewhere?
John Plastow9,284 Points
Ryan Lucas For one thing, the
<head> is missing a viewport meta tag. Secondly, there are 22 instances of hard-coded widths in the CSS which aren't flexible enough to be responsive. Simply slapping Bootstrap in won't override that. You'd have to rewrite all that to make it work. Keep in mind this is just a demo project and not intended to be as complete as a website for the public should be.