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 trialTim Bell
1,455 PointsThe 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
Treehouse Moderator 145,860 PointsHey 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
Tim Bell
1,455 PointsHi 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.