WordPress.org

Support

Support » Themes and Templates » [Resolved] Problem with non responsive image

[Resolved] Problem with non responsive image

  • Karim
    Member

    @flywings

    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.

    About Karim Mostafa

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

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • CrouchingBruin
    Participant

    @crouchingbruin

    Try adding this CSS:

    .page-id-247 img.aligncenter {
       height: 100%;
       width: 100%;
    }

    Karim
    Member

    @flywings

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

    Whohoo. Thanks your the best. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Problem with non responsive image’ is closed to new replies.