Images stretch on home page - how to set exact width?

Discussion in 'ColorWay WordPress Theme' started by willardroad, May 30, 2019.

  1. willardroad

    willardroad New Member

    Joined:
    May 13, 2014
    Messages:
    2
    Likes Received:
    0
    Location:
    USA
    In Colorway, we have upgraded to the latest (4.0.8) from a much older version.

    Now, when we add images to the home page, like in the Feature areas, the images stretch or shrink when we resize the browser window, making them distort. In the older version, the Feature images remained static in size, no matter how large or small the browser window. We want the images to remain one size and not distort or stretch.

    We do notice that our sliders do NOT stretch, but seem to get larger and smaller in proportion.

    Should we add a max-width CSS code to the entire page? If so, what is that add'l code.

    Or do we add a fixed-width code to each Feature image section? If so, what is the add'l code for that?

    If there is another solution, we would be happy to try it.

    Thank you!

    www.dance-alchemy.org
     
    Last edited: May 30, 2019
  2. shemaela21

    shemaela21 Guest Staff Member

    Joined:
    Apr 6, 2019
    Messages:
    855
    Likes Received:
    1
    Hello,

    Greeting from InkThemes,

    To make the desired changes, just paste the code in the Additional CSS section of the theme.

    Go to (Dashboard->Appearance->Customize->Additional CSS).

    Code:
    .content .img_thumb_feature img {
        width: 100%;
        height: auto;
        max-height: 100%;
    }
    Let us know if you need further help, we will be happy to help you.

    And always feel free to ask your queries at our support forum: http://inkthemes.com/community/ and at our email [email protected]

    Regards,
    Shemaela
    InkThemes.com
     
  3. willardroad

    willardroad New Member

    Joined:
    May 13, 2014
    Messages:
    2
    Likes Received:
    0
    Location:
    USA
    That worked. Thank you!
     
  4. shemaela21

    shemaela21 Guest Staff Member

    Joined:
    Apr 6, 2019
    Messages:
    855
    Likes Received:
    1
    Hello,

    Thanks for getting back to us,

    You are most Welcome!

    Let us know if you need further help, we will be happy to help you.

    And always feel free to ask your queries at our support forum: http://inkthemes.com/community/ and at our email [email protected]

    Regards,
    Shemaela
    InkThemes.com
     

Share This Page