New Landing How can we help? Themeforest Theme Support Dante Windows Phone 8 viewport issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #48891
    ielbury
    Member
    Post count: 51

    FYI: Windows Phone 8 has a problem where the screen width is reported incorrectly. This creates a problem where the Icons Boxes and other elements do not render correctly. In order to resolve the problem, you need to add the following script in the <head>:

    <script>
        if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
            document.writeln("<style>@-ms-viewport { width: auto!important; }</style>");
        }
    </script>

    This is not an immediate issue for me as I have added the functionality in my child theme using wp_enqueue_script.

    Important: This MUST be in the head for it to work correctly.

    #49795
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Thank you so much for your suggestion .

    With Best Regards
    Swiftideas Themes

    #49824
    ielbury
    Member
    Post count: 51

    This is not a suggestion, it’s a problem!

    The viewport width is > 750px without this fix so icon boxes and other elements will all render on the same row. i.e. You no longer have a responsive layout.

    I am not sure why this issue was closed?

    #50520
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Yes i got that it was a problem and you have solution [suggestion] to fix it . I appreciate that found
    solution by yourself .

    Cheers!

    With Best Regards
    Swiftideas Themes

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register