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

CSS CSS Basics (2014) Enhancing the Design With CSS Media Query Basics

Jeffrey Burger
PLUS
Jeffrey Burger
Courses Plus Student 4,882 Points

Just wanted to make note that "royalblue" is not identified by chrome. When I changed the background to "blue" It worked

Just wanted to make note that "royalblue" is not identified by chrome. When I changed the background to "blue" It worked

I am using Chrome as well..., what I found was that I could not get the Royalblue to take effect until I changed the "max-width" for '.primary-content, .secondary-content' under the "Layout Styles", to 970px.

The other two colors worked as defined.

/* Layout Styles ------------------ */

.primary-content, 
.secondary-content {
  width: 75%;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
  max-width: 970px; /*<---------*/
}

Try that to maintain the continuity between the video and your project. Although, I guess as the designer, you can do as you please for artistic individuality... ;-)

Hope this helps...

2 Answers

I placed my answer in the comment section..., should I move it to the add answer section???

I am using Chrome as well..., what I found was that I could not get the Royalblue to take effect until I changed the "max-width" for '.primary-content, .secondary-content' under the "Layout Styles", to 970px.

The other two colors worked as defined.

/* Layout Styles ------------------ */

.primary-content, 
.secondary-content {
  width: 75%;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
  max-width: 970px; /*<---------*/
}

Try that to maintain the continuity between the video and your project. Although, I guess as the designer, you can do as you please for artistic individuality... ;-)

Hope this helps...