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 trialVictor Albarran
4,662 PointsAn element that dispears
Hello there,
I just finished how to create a website and have mine up and running but just realized that when changing the website form a desktop format to a smaller one like a mobile one or laptop the word "designer" disappears mot sure why.
here is my website:
victoralbarran.com
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Victor,
I think I'm seeing the opposite of what you're saying. I see "designer" below 660px but not above it.
In your 660px media query you're setting the font size of the h2 to 0.025em which works out to .4px which is really small.
I checked my local copy and I have it set to 0.825em
Try increasing the font-size of the h2 and it should show up again.
Victor Albarran
4,662 Pointsis it here where I need to change it?
h2 { font-size: 0.75em; margin: -5px 0 0; font-weight: normal; }
Jason Anello
Courses Plus Student 94,610 PointsIt's in your 660px media query which should be in "responsive.css" Look in that file at your 660px media query and you should see where you set the font size of the h2 to 0.025em. I think you must have made a typo there and it should have been 0.825em
Victor Albarran
4,662 Pointsyou were right I had a typo it said 0.025 instead of 0.825.
thank you!