I am familiar with responsive websites and totally prefer it over working with different mobile versions, however, I have a case where there is a site that is alreay built and it is not responsive and wasn't even built for mobile view unfortunately. my challenge is to make it compatible with mobile so I decided to build a new theme that is targeted for mobile so when viewers are viewing the site on mobile they will be redirected to another theme.

in order to achive that I am working with Any Mobile Theme Switcher

Now, that works fine but thats not the end of the story. I want that theme to also appear on ipad portrait orientation. I dont need landscape because I wrote media queries for that but for portrait view I would like to display the new mobile theme that I am building.

anyone has an idea how to do it?

Thanks Gil

  • The problem is that the orientation is something you only know once the page is already loaded. So the only way to change the theme then is to reload the whole page with another theme. So every time the user turns its device you would need to reload the page. This doesn't feel like a good idea.
    – kraftner
    Commented Feb 20, 2014 at 8:13
  • This question might help Commented Feb 20, 2014 at 9:27


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.