• Resolved mikewpdev

    (@mikewpdev)


    Hi, recently, my website with twentyfifteen theme shows narrow – only on half of the screen width on mobile devices.

    I noticed viewport is now

    <meta name=”viewport” content=”width=device-width”>

    instead of

    <meta name=”viewport” content=”width=device-width, initial-scale=1″>

    This is causing the problem, when I change it in developer console to content=”width=device-width, initial-scale=1″, everything works just fine.

    I can not find a way, hook or function to change this without editing core template file.

    Can anybody help with fixing this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, did you recently add any plugins to the site that deal with optimizing/minimizing CSS files or similar stuff?

    When testing out TwentyFifteen on my local install and decreasing the browser width to mobile the layout displays ok for me. Are you able to provide a link to your live site if the issue is still happening?

    Thread Starter mikewpdev

    (@mikewpdev)

    Hello Jarret, thank you for your input, I deactivated all the plugins and it still showed bad, so I checked HTML of all recent posts and I discovered that one post contained empty table pasted from MS Word, when removed problem disappeared.

    Thank you for your time anyway.

    No worries! Glad to hear you were able to get it figured out ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Viewport – bad width on mobile devices with chrome/chromium browsers’ is closed to new replies.