If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #16016

    Prior to updating to the new abundance theme when I would visit my website on my iphone the view was normal. Now when I visit the website on my iphone the site zooms in automatically. If I zoom out them click a new link the page resets to the close up zoom after reloading.

    Anyway to have the default view to be zoomed out?



    Does anyone else have this problem? Seems like a simple fix. Any help…



    Open header.php and find this code

    if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }

    echo '<meta name="viewport" content="width=device-width, initial-scale=1">';

    Replace it with

    echo '<meta name="viewport" content="width=device-width, initial-scale=1">';




    Sorry but that didnt seem to help. I replaced the code with above, cleared history and cookies cache etc..

    Still zoomed in


    Hi apweldon,

    I’m at a lost as to what else to try so I’m going to tag the rest of the team to see if they have any ideas.




    Hi apweldon,

    As far as I know that is the only thing that would cause that kind of issue in the theme’s code. When viewing the page now I don’t get that issue and I see the initial-scale set to 1 in the source code so what is happening on your end shouldn’t be.

    Can you try disabling any other plugins you have running outside of WooCommerce and see if that helps?





    1) I don’t have an iphone, but found this to be an issue (if i understood correctly) that will be resolved in ios6, but for now what is recommended is to change the code that Ismael provided to:

    echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';

    Reference: https://github.com/h5bp/html5-boilerplate/issues/1099

    2) You could also try the code found here, which has more to do with correcting the orientation bug in iPhone, and heavily touches upon the zoom functionality: Just add it to the end of /js/avia.js file :


    3) On an unrelated issue, you are loading you Analytics tracker twice, one with custom tracking, and one without. You may want to check WooCommerce plugin and Yoast to make sure only one of the two is used for Google Analytics.




    I want to add to the above, that after having a friend with an iPad look at the issue, that the bug in current version of iOs that is triggered by change from landscape view to portrait view, whereby the landscape view remains even though the iphone/ipad orientation was changed to portrait, causes the unwanted zoom.

    There is a plugin , I just found that makes the change for you, Since its not located in the wordpress repository, I zipped it and placed it elsewhere after thoroughly checking the code (http://www.mediafire.com/?3s0upi7moj7bcyd). You can just install it as you would a normal WordPress plugin from your desktop. The original resides here, created by Ben Wong: (http://benwong.me/ (Purchase code hidden if logged out) -wordpress-plugin/).



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

The topic ‘Theme zooms in by default’ is closed to new replies.