Distorted images | WordPress.org

Joy

(@joyously)

Please show this ticket to your theme developer, so that they can fix the issues for all their users. https://core.trac.wordpress.org/ticket/50909

Hey @jameshayward,
The issue in your case is that all the images are applied with inline width and height property.
You can check this by inspecting any distorted image and then removing the inline width and height property of the image from browser developer tools, the image will get into its actual form.

However, this is an issue from your theme’s end (blankslate-child), So it would be best for you to communicate with the theme’s official support channel for a precise solution.

Thanks for identifying this Joy and Prabhat – will reach out to theme support channel

James

Solved – had to tweak the CCS slighly to:

.wp-block-image img {
max-width:100%;
height:auto;
}

Thanks Github



Source link