Images not responsive

Discussion in 'Squirrel WordPress Theme' started by susanb, Apr 9, 2014.

  1. susanb

    susanb Guest

    Joined:
    Dec 28, 2011
    Messages:
    8
    Likes Received:
    0
    How do you make the images to scale down for mobile phones? I have some images that are around 450 - 600 pixels wide and the are cut-off on my iphone. I do not want them to stretch across the page on my laptop (ie: I do not want it 100% width of page), only to scale down for the phone.
    Thanks,
    Susan
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Do let us know your website link.

    Thanks & Regards
    Gourav Shrivastava
     
  3. susanb

    susanb Guest

    Joined:
    Dec 28, 2011
    Messages:
    8
    Likes Received:
    0
    Hi Gourav,

    The website is: http://queenspark.torontopigsave.org/

    I would like the green image on the bottom of the home page to resize as well as the images on the other pages.

    Thanks,
    Susan
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
     .index-fullwidth img {
    width: 87%;
    }

    Thanks & Regards
    Gourav Shrivastava
     
  5. susanb

    susanb Guest

    Joined:
    Dec 28, 2011
    Messages:
    8
    Likes Received:
    0
    Hi Gourav,

    That resizes the image on the main page, but not on any of the other pages. Is there code I can wrap around the individual images that would resize each of them? Do any of the Inkthemes responsive themes resize the images on the pages?

    Thanks,
    Susan
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .main-content .fullwidth img {
    max-width: 100%!important;
    }
    Thanks & Regards
    Nitesh Raghuwanshi
     
  7. susanb

    susanb Guest

    Joined:
    Dec 28, 2011
    Messages:
    8
    Likes Received:
    0
  8. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Susanb,

    I missed it.
    Please add height: auto with previous css code.
    So code should be

    Code:
    .main-content .fullwidth img {
    max-width: 100%!important;
    height:auto;
    }
    Thanks & Regards
    Nitesh Raghuwanshi
     
  9. vendreplus

    vendreplus New Member

    Joined:
    Jul 5, 2013
    Messages:
    2
    Likes Received:
    0
  10. vendreplus

    vendreplus New Member

    Joined:
    Jul 5, 2013
    Messages:
    2
    Likes Received:
    0
    Yes !
    I fixed it adding :

    .header .logo img {
    max-width: 100%!important;
    height:auto;
    }
    to custom css

    Thank you for your job and support
     

Share This Page