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

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
STAFF
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.

<head>
    <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">
  </head>

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.