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 How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

The heading "About" is gone from my about page. This happened as we starting doing more responsive css.

So ever since we started going some media queries, the "About" heading started disappearing at various screen widths. Now it is completely gone. I think the header is messing with it somehow. All I know is if I delete the following from main.css, the word "About" re-appears.

header {
 float: left;
 margin: 0 0 30px 0;
 padding: 5px 0 0 0; 
 width: 100%;
}

#logo{
  text-align: center;
  margin: 0; 
}

h1 {
  font-family: 'Josefin Sans', sans-serif;
  margin: 15px 0;
  font-size: 1.75em;
  font-weight: normal;
  line-height: 0.8em;
}

h2 {
  font-size: 0.75em;
  margin: -5px 0 0;
  font-weight: normal;
}

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Tim, I'm not 100% sure... but if you're taking about the "About" that is below the green header (but above the descriptors), the problem probably lies in the HTML file and not the CSS file. "About" is an h3 tag in the html file and shouldn't be affected by what you've deleted (as none of the CSS you posted targets an h3 tag or any of its 'parents'). So, I'm not sure where the problem lies.

Could you post more of your code? Jason

Hi Jason,

I see that my About was listed as an h2 actually. So that helped! But there are still some screen sizes that don't have an "About" visible on the About page. I am talking about the header below the heading.