WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Resizing images in proper proportions (6 posts)

  1. techtoll
    Member
    Posted 1 year ago #

    I have a page at Download Bing wallpapers where i have inserted an image of size 1003X516. But the resizing i think is not in the proper ration. Hence when i check its responsiveness only the width of the image changes. Height remains constant.
    Kindly help.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    In your Custom CSS area of the dashboard, add a max-height of 100% to that image;

    .entry-content img, .comment-content img, .widget img {
     max-height: 100%;
    }
  3. techtoll
    Member
    Posted 1 year ago #

    Will it affect site's responsiveness?

    Thanks BTW

  4. techtoll
    Member
    Posted 1 year ago #

    The image still looks more stretched in terms of height.

  5. ronangelo
    Member
    Posted 1 year ago #

    The image still looks more stretched in terms of height.

    That's because the image you uploaded is bigger than the content width.

    You can either upload a re-sized image or add: height: auto;

  6. techtoll
    Member
    Posted 1 year ago #

    Thank you.

    height: auto;
    worked.

Topic Closed

This topic has been closed to new replies.

About this Topic