Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • global21 Friend
    #926605

    Hello.

    Im having issues when viewing my site on a mobile device.

    What css should i change to display the main container to 100% on all mobile devices.

    I have tried changing the following but it does not affect the view on a mobile device.

    @media (max-width: 1136px)
      .container{
        Width: 100%!important;
      }
    @media (min-width: 480px)
    .container {
        width: 100%;
    }

    1. mobilescreenshot
    global21 Friend
    #926681

    I fixed it.

    I found this in my custom css file

    /* Smartphones (portrait and landscape) ----------- */
        @media only screen
        and (min-device-width : 320px)
        and (max-device-width : 480px) {
            body { 
                padding: 0; 
                margin: 0; 
                width: 320px; }
            }
    
        /* iPads (portrait and landscape) ----------- */
        @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
            body { 
                width: 495px; 
            }
        }
    Pankaj Sharma Moderator
    #926842

    Hi
    glad you fixed it . If you have any doubt/questions do not hesitate to open a thread on forum .

    Regards .

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

This topic contains 2 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum