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.

HTML How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Kathryn Williamson
Kathryn Williamson
2,011 Points

Contact page not updating to 2 column layout

I cannot seem to find any error in the 1st Media Query. I copied the exact code for the responsive.css file and then updated the sections in the contact.html file but the page stays the same when sizing up/down the browser.

2 Answers

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Kathryn,

The problem is your contact page does not link the responsive.css file in the header. The header in contact.html should link the responsive.css file directly under the link to main.css like so.

    <meta charset="utf-8">
    <title>Kathryn Williamson | Artist</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='https://fonts.googleapis.com/css?family=Roboto+Mono:400,100,300,500,700,100italic,300italic,400italic,500italic,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css"> 
    <link rel="stylesheet" href="css/responsive.css">

I hope this helps.

Kathryn Williamson
Kathryn Williamson
2,011 Points

Thank you, Justin. That was the mistake, I found it and fixed the problem.