• Resolved BitingChaos

    (@bitingchaos)


    Twenty Fifteen theme, WordPress 4.1.

    The iPad reports a horizontal resolution of about 980px when in landscape. Yet Twenty Fifteen will display the layout as if it was viewed on a tiny phone. With my Desktop browser set to 980px Twenty Fifteen looks fine.

    How can I get the “Desktop” view to display on the iPad?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Add this to the <head> section of your header.php file:

    <meta name="viewport" content="initial-scale=1, maximum-scale=2">

    You should create a child theme if you haven’t already.

    Let me know if you have any problems with the left sidebar on the iPad in landscape. It seems a little buggy right now.

    Thread Starter BitingChaos

    (@bitingchaos)

    Yup. I have my “twentyfifteen-child” directory set up with a few modifications. style.css changed to make all fonts sans-serif, content-page.php to add a perma-link and view counter on each page, etc.

    Making that change to header.php did give me 2-columns in landscape on iPad. Thanks!

    And yes, the left sidebar seems kinda buggy. Scrolling up/down moves the “header” background image move slightly, and zooming/resizing the view causes it to overlap on top other page content (z-order issue?) instead of staying in the background!

    Other than that it’s been one of my favorite themes. It’s pretty much the only “stock” theme that I’ve considered using as my primary.

    I look forward to any fixes to Twenty Fifteen, of course.

    Just wanted to add that I just found this solution and am sooooo happy. thank you.

    G

    I’m having the same trouble. The funny thing is, I have a second domain just forwarding to my main domain and that left sidebar shows fine when I open that on an iPad2. But my main domain gives me no sidebar.

    I tried the fix as both a child theme and then in the main header.php after it didn’t work. That was no good either.

    Here’s my main domain (no sidebar)
    digikoku.com

    and here’s the forwarded domain (sidebar shows, looks great)
    markaldred.com

    Anybody know why they are giving different results, or why the fix isn’t working for me?

    Thanks
    Mark

    Hey all, i know this is a slightly old thread, but i wondered if i could get some help with this same issue.

    I tried the fix MrTrev suggested, and it succeeded in getting the desktop styles to display on my iPad in landscape, albeit with some sidebar movement glitches. I’m curious though what i need to add/change in my CSS in order that the portrait display still uses the mobile layout, with no sidebar. (currently it has the sidebar in portrait mode, but also with the men button there too, even though i see the full menu in the sidebar.

    Thanks in advance for any heplp anyone can offer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Twenty Fifteen] Doesn't respect iPad resolution’ is closed to new replies.