Support » Themes and Templates » Twenty Thirteen single posts don't fill mobile screen

  • Resolved Nickandia

    (@nickandia)


    I have a problem with my installation of the Twenty Thirteen theme.

    I have been altering it (so I’ve for sure done something wrong), but when I tried to install the original theme again – the problem is still there.

    My problem:

    The first page of the blog looks great on my phone (Iphone), the archive pages and single PAGES as well.

    But when viewing a single POST the whole page goes to the left – and a blank space appears to the right, on the phone (not when resizing a browser window, then it looks normal).

    Here’s pictures that show what I mean:
    http://turfidag.se/to-helpers-on-wp-forums

    And my blog installation is then ofc http://turfidag.se/

    What I’ve tried so far:

    • Changing the CSS file (style.css) back to the original version
    • Changing the header.php theme file back to the original version
    • Changing the content.php file back to the original version
    • Changing the entire theme back to an original copy of the Twenty Thirteen theme

    I’m greatful for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nickandia

    (@nickandia)

    Now I know what it was!

    If you have more than two posts, this function is triggered:

    <?php twentythirteen_post_nav(); ?>

    You can find it in the single.php file.

    I simply removed the line of code (didn’t need that function anyway) – and now the single post pages are filling the screen on the Iphone.

    Wooho!

    for me it’s the same problem! But if you kick this line of code you couldn’t navigate forward or backward in the articles.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twenty Thirteen single posts don't fill mobile screen’ is closed to new replies.