Photo re-sizing and alignment not working?!?

  • Unknown's avatar

    Hi, I’m a fairly experienced WordPress user but I’m totally stumped with this simply but infuriating issue I’ve been having! When I try to resize (e.g. ‘medium’ ‘large’ etc) my images and/or align them left/right/center, it works in my draft view but is totally useless in my published view of this website. The images just stay huge, and centered, no matter what. Please help!

    WP.com: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    Yeah you are right but this behavior is normal because WordPress generates responsive image and the visible size is control by the view-port size or you can say available space in the main container.

    If you want to restrict this behavior then you can add a maximum width to your post/page images. For this you need a CSS rule like this:

    .wp-block-image img {
        max-width: 400px;
    }

    This will restrict your image size added in a post / page to a maximum value of 400px.

    Here is a tutorial about adding custom CSS: How to Add Custom CSS

    P.S. Custom CSS feature comes with Pro plan only.

  • The topic ‘Photo re-sizing and alignment not working?!?’ is closed to new replies.