Feature column images are distorted when browser changes size

Discussion in 'RoadFighter WordPress Theme' started by falcott, Jun 15, 2013.

  1. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    Hi,
    I've just found that when the homepage is viewed in different size browser windows, the feature column images either become cropped or are distorted - stretched or compressed.
    Why are the images not resized correctly?
    If the responsive feature of this theme isn't working properly I'll have to use a different theme.
    I've viewed it in Firefox and IE.
    The site is www.jelenatomovic.com
    Thanks.
     
  2. 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:
    @media only screen and (min-width: 960px) and (max-width: 1140px) {
    .feature-content .feature-content-inner .image-box{
    width:280px;
    height:153px;
    overflow:hidden;
    }
    .feature-content .feature-content-inner img{
    width:280px;
    height:153px;
    }
    }
     
  3. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    Hi Nitesh,
    I posted the code into the Custom CSS, but it has made no difference. The pictures still become distorted when I resize the browser window.
     
  4. Nitesh

    Nitesh Support Staff

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

    I have checked your site on all size browsers (pc, iPad and iPhone). Images are looking fine.
    Please share screenshot. Where you are getting problem.
     
  5. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    These are two screenshots of a feature image that displays incorrectly when the browser is resized.

    Capture.JPG
     
  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:
    @media only screen and (max-width: 480px){
    .feature-content .feature-content-inner img{
    width:280px;
    height:140px!important;
    }
    }
     
  7. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    Hi, I tried the code, but can't see any improvement when resizing the browser (Firefox).
     
  8. Nitesh

    Nitesh Support Staff

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

    I have checked your site and found that code given above is working fine.
    Please check image for reference.

    [​IMG]
     
  9. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    Hi. No, the code is not fixing the problem. The x or y axis is changing. Compare the attached original image below. You can see that in your screenshot the image is compressed vertically, making the subject look fat.

    Jelena1.jpg
     
  10. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    So I guess there is no fix?
     
  11. Nitesh

    Nitesh Support Staff

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

    Please share screenshot of your actual featured image and image which is compressed.
    Because i really not getting any compressed image on your site while resizing browser.
     
  12. falcott

    falcott Member

    Joined:
    Dec 28, 2011
    Messages:
    32
    Likes Received:
    0
    ???
    But I did share screenshots of the actual feature image and the image which is compressed!
    Post #5 has two screenshots of the actual feature image that is compressed.
    Post #8, you shared a screenshot of the actual feature image. Although you said it is working fine, that image is actually compressed.
    Post #9, I shared a screenshot of the actual feature image that is CORRECT and NOT compressed, for your comparison.
    Surely I've provided enough information already? Or do I need to post the images again?
     
  13. 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:
     @media only screen and (max-width: 480px){
    .feature-content .feature-content-inner .image-box {
    height: 170px;}
    .feature-content .feature-content-inner img {
    height: 170px!important;
    }
    }
    
     

Share This Page