I tried it and it doesn't work. But now I noticed that it's partially working. In the media query for iphone I've set the widths to 100% and that is working for all my content. The header div however is still fixed to the left and all the content in the header that I've set to display:none is still showing upp. This is all the css for my header: