Responsive image in "Homepage Fullwidth Column" section?

Discussion in 'Dzonia WordPress Theme' started by ericalston, Aug 27, 2013.

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

    ericalston New Member

    Joined:
    Aug 14, 2013
    Messages:
    14
    Likes Received:
    1
    Location:
    Charlotte, NC
    I am trying to make the coupon or image responsive, so it resizes on a mobile device.

    Site: www.theoilchangecrew.com
     
  2. 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:
    .fullwidth-col img {
    width: 75%;
    }
    Adjust its value as per your requirements.
     
  3. ericalston

    ericalston New Member

    Joined:
    Aug 14, 2013
    Messages:
    14
    Likes Received:
    1
    Location:
    Charlotte, NC
    Thanks, that helped, but the image is now distorted--looks smushed. Is it possible to have it resize proportionally?

    Thanks.
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the code given below also in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .fullwidth-col img {
    height: auto;
    }
    I hope this will solve your issue.
     
  5. ericalston

    ericalston New Member

    Joined:
    Aug 14, 2013
    Messages:
    14
    Likes Received:
    1
    Location:
    Charlotte, NC
    This worked, thanks.
     
Thread Status:
Not open for further replies.

Share This Page