Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
852 stars 345 forks source link

Resonar: Theme CSS causes issues with Blog Posts block image size #4242

Open mikeicode opened 3 years ago

mikeicode commented 3 years ago

The theme sets images to a smaller size which incorrectly affects the size of images within the Blog Posts block.

Steps to replicate

Result

Images are too small, caused by the theme CSS:

size

Expected

Should be large like the editor.

grid

Used this to resolve:

/* Blog Posts block images */

.wpnbha.is-grid .post-thumbnail {
    width: 100%;
}
metabreakr commented 2 years ago

I believe that I am experiencing a similar issue in 31213407-hc with the post carousel block:

Editor:

Screenshot on 2021-09-21 at 15-35-35

Rendered:

Markup 2021-09-21 at 15 34 58
aisajib commented 2 years ago

I'm not 100% sure if it's the same, but the Post Carousel block also has image issues as reported here. See the screenshot from my test site.

Screen Shot 2021-10-07 at 11 01 29 AM

Let me know if that sounds like a separate issue and I'm happy to open a new report.

smithkyle45 commented 2 years ago

I came across the same issue described in the comment above, showing the issue in a post carousel block while Resonar is the active theme. 4895268-zen.

I provided the following CSS as a workaround:

/* correct image width in post carousels 4895268-zen */
.wp-block-newspack-blocks-carousel .post-thumbnail {
    width: 100%;
}
Jaykame commented 3 months ago

I came across the same issue in 8094730-zen.

When the Resonar theme is activated, the images in the Blog Posts block (and Query Loop) are resized to a smaller size, which makes them blurry on the desktop.

github-actions[bot] commented 3 months ago

Support References

This comment is automatically generated. Please do not edit it.