Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cleeannsmith

    (@cleeannsmith)

    Ok, I’ll give the plugin a try. I see the option where it says “Resize my full-size images.” and that sounds like the solution I need, but when I enable it, the full-width images are still blurry.
    Also, I am the theme creator – I used understrap as a base theme to create it. I’m still very new to WordPress development, so I’m just trying to figure everything out.

    Thread Starter cleeannsmith

    (@cleeannsmith)

    @binarywc Thanks for the reply, but I think I’ve nailed down the source of the issue. It seems that WordPress has some automatic responsive image stylings that set the image width at specific viewport widths. For example, the one that’s causing mine to look blurry is this query:

    sizes=”(max-width: 640px) 100vw, 640px”

    Is there any way to override these settings? The issue doesn’t happen when I hardcode the image into the page’s php file, but I would like to be able to easily replace the image in the block editor without touching the theme editor. I tried to add my own “sizes” attribute in the html in the code editor, but I get an error message saying “This block contains unexpected or invalid content”.

    • This reply was modified 5 years, 1 month ago by cleeannsmith.
Viewing 2 replies - 1 through 2 (of 2 total)