• Hi,
    The single posts images (not featured images) are not responsive, even the official demo have this problem, reducing the screen width does not resize the image?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, which image on the official demo are you seeing this issue on? Can you provide a link so it can be investigated further?

    I did some testing on a local install of TwentyTwenty with an image inserted into the post (not featured) and it seems to be responsive to me.

    Thread Starter chillmen

    (@chillmen)

    Hi,

    Here is a screenshot: snipboard.io/ilq2Cb.jpg
    done with chrome developper tool

    I installed the theme myself ang got the same result, it concerns only images added inside posts

    Thanks, I was able to replicate as well. Looks like the following CSS is the issue

    .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    	max-width: 58rem;
    	width: calc(100% - 4rem);
    }

    You can fix it by adding the following into Appearance->Customize->Additional CSS

    @media screen and (max-width: 600px) {
    	.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    		max-width: 100%;
    	}
    }

    I’ll file a report on Trac for the theme developers to investigate further to ensure the images don’t get cut off.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Posts images are not responsive’ is closed to new replies.