Forums

Get help. Give help. A Web Design and Development Community.

Target mobile landscape only

  • # February 26, 2013 at 9:36 am

    My website as it stands looks fine on mobile devices in portrait but in landscape the header takes up a significant amount of the screen and is position:fixed so will always display. Is there any way of targeting just mobile landscape using media queries to change the position of the header to relative?

    http://joshuajohnson.co.uk

    # February 26, 2013 at 10:06 am

    Just another media query.

    http://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    # February 26, 2013 at 8:27 pm

    This reply has been reported for inappropriate content.

    @media (orientation: landscape) {}

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.