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.

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,692 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.