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!
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
Gary Hurd
17,533 PointsDesigned site, looks great on desktop and laptop, and when I adjust screen on those, responds perfectly BUT when I look
when I look at the site on ipad or iphone, its jacked up. Anyone have any ideas on how to correct? I have spent yesterday and today tweaking the media queries and NOTHING! I am lost and getting twerked.
I have images as backgrounds for my <section> tags and the images are what are not laying out right in the tablet and phone.
15 Answers

Charles Gray
19,470 Pointsok first of all the image is huge. Did you notice everything moving as you adjusted the screen? you have width sizes. one of the ways to fix it is with @media screen css styles for multiple screen sizes. You can apply different layout option based upon device size. This is best for getting a total customizes look for every device.

Kevin Korte
28,147 PointsReally hard to do with nothing to go on. Is the site live, or can you put the code on Codepen and link it over here?

Gary Hurd
17,533 Pointssorry I quess that would have helped.

Peter Hatzer
20,837 PointsHi Gary I had quick look your website your going to need to take the height off this is causing your text to hide and get jacked up.

Gary Hurd
17,533 Pointstake the height off of what? If I remove the height then everything is squished together.

Peter Hatzer
20,837 PointsI messed around there wee bit more just take the height off where you have text. I would also use a different color than blue for you images background. Also is the .imgtext ment to be where it is?

Gary Hurd
17,533 Pointsokay, the text on top of the images are placed in different areas. I did not want the text to be in the same location for all images. I think if I can figure out why the images are not appearing properly, then the text will render like the regular site. The site is just simply a scrolling site, couple of different sections, its not a parallax site, just a simple scrolling site.

Charles Gray
19,470 Pointsyou should always start with the mobile design first. Built from simple to complicated. Otherwise you have to use percent calculations

Gary Hurd
17,533 PointsHey Charles, in all honesty I did that, and I had my browser to the screen size and everything was going great until i uploaded to my hosting site, then all went to heck
this is why i am perplexed and irratated

Charles Gray
19,470 PointsOK keep a clear mind and stay calm. what kind of web hosting site did you use? Is your site online?

Gary Hurd
17,533 Pointsmy hosting site is ipage. let me see if I can make the image smaller, i thought that is what the problem is. I will resize and see i that helps. I appreciate your help. I will send you a message tomorrow when I resize. thank you

Charles Gray
19,470 Pointsyou're welcome

Gary Hurd
17,533 PointsCharles, I got the site to layout properly. Thank you so much for your help.

Charles Gray
19,470 Pointsyou're welcome