Not able to zoom out on mobile device

Discussion in 'BizWay WordPress Theme' started by nhammouda, Feb 20, 2013.

Thread Status:
Not open for further replies.
  1. nhammouda

    nhammouda New Member

    Joined:
    Jan 19, 2013
    Messages:
    3
    Likes Received:
    0
    I have BizWay Pro Theme some of my pages I have wide pictures so when I use mobile device I can only see half of the picture. Any suggestion for being able to zoom out or to have the picture resize to fit the mobile device. I would prefer to have the option of zooming enabled.

    I tried to change the code in header.php from

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    to
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 />

    but with no success.

    Any suggestions will be appreciated.
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Please do let us know your website link.
     
  3. nhammouda

    nhammouda New Member

    Joined:
    Jan 19, 2013
    Messages:
    3
    Likes Received:
    0
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    @media only screen and (min-width: 768px) and (max-width: 959px) {
    .memCard{
    width: 100px!important;
    height:100px!important;
    }
    }
     
    @media only screen and (max-width: 767px) {
    .memCard{
    width: 80px!important;
    height:80px!important;
    }
    }
     
    @media only screen and (min-width: 480px) and (max-width: 767px) {
    .memCard{
    width: 50px!important;
    height:50px!important;
    }
    a img.aligncenter{
    width: 100px;
    height:100px;
    }
    }
    @media only screen and (max-width: 480px) {
    .memCard{
    width: 30px!important;
    height:30px!important;
    }
    a img.aligncenter{
    width: 60px;
    height:60px;
    }
    }
    Adjust its width and height as per your requirements.
     
  5. nhammouda

    nhammouda New Member

    Joined:
    Jan 19, 2013
    Messages:
    3
    Likes Received:
    0
    Thanks alot for your solution with some adjustment it should work fine.
     
Thread Status:
Not open for further replies.

Share This Page