Results 1 to 2 of 2

Thread: Draft Mobile Site is too small on my Moto X Android Smart Phone

  1. #1
    Member
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    49

    Default Draft Mobile Site is too small on my Moto X Android Smart Phone

    Hello,

    I just created a mobile site (test) with NOF 13 (cloned form the main site) and although I set my mobile page widths to 320 pixels, it is showing on top left corner my Moto X Android screen. Can someone please help me determine what I'm doing wrong?

    The main site is http://www.curriersmagicalmania.com

    The mobile site is located in a separate directory under public.html/mobile

    I also created a subdomain m.curriersmagicalmania.com which points to the /mobile directory

    I tried this script but it didn't work:

    <script type="text/javascript">
    <!--
    if (screen.width <= 800) {
    window.location = "http://m.domain.com";
    }
    //-->

    So I decided to use this javascript on the main site home page instead and so for it work .. sort of:

    <script type="text/javascript">
    <!--
    if (screen.width <= 800) {
    document.location = "mobile/index.html";
    }
    //-->
    </script>

    Thanks in advance.
    Last edited by Gutsy; 04-20-2015 at 08:15 PM.

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    49

    Default

    I figured it out .. I need to add the following coding on the mobile site pages to widen the page on the smart phone:

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •