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.


Help with a personal project

Hi all

I have built a website for a friends jewellers business ( www.johnmedhurst.co.uk )

I have one bug that I don't know how to solve! When. Viewing the site on and iphone, if the user zooms in (pinch or double tap) the page response and scales up how ever the header bar, which is a fixed element, takes up too much room! What I think I need is for the header element not to be scaled up when a user zooms in!

Does this require a media query? Or is there another solution I'm missing?

Any help appreciated!

Cheers Brett

1 Answer

Yeah, a media query would be able to adjust the css preferences to prevent it from scaling up like that.