WordPress.org

Forums

[resolved] Problem with non responsive image (3 posts)

  1. Karim
    Member
    Posted 1 year ago #

    Think I have a easy issue for all people here.

    I received some help from stack overflow and now I need to do final adjustment.

    I have changed the width of a specific page in WordPress using this code:

    .page-id-247 .hentry, .page-id-247 .aligncenter {
    max-width: 700px !important;
    }

    The only problem after resizing the width is that the image don't resize any longer.

    http://karimphoto.com/about/

    If you have any input on this I would be very happy?

    Thanks,

  2. CrouchingBruin
    Member
    Posted 1 year ago #

    Try adding this CSS:

    .page-id-247 img.aligncenter {
       height: 100%;
       width: 100%;
    }
  3. Karim
    Member
    Posted 1 year ago #

    Try adding this CSS:
    .page-id-247 img.aligncenter {
    height: 100%;
    width: 100%;
    }

    Whohoo. Thanks your the best. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic