Stop resizing of featured image in an image post format
-
My question is about the ‘featured image’ in a post of the format ‘image’ using the Hueman theme.
For my post pages, I have turned off the secondary sidebar and have calculated that the optimal size for my featured image is a width of 980px.
I resize my image before uploading to WordPress and set it as the featured image.
However, on the published post the image looks blurred. A quick check of the source code using Firebug shows that somewhere the image is being downsized to a max-width of 720px and then shown at 100%, so in effect degrading the image, i.e. making it smaller then stretching it.
This code snippet which shows in the HTML seems to be the culprit, but I can’t tell where it’s coming from:
sizes="(max-width: 720px) 100vw, 720px"
I have tried adding various things to the theme’s editor:
e.g.
img { max-width: 980px; }
I have also edited the following text in functions.php:
add_image_size( 'thumb-large', 980, 463, true );
but nothing works.
Could anyone help me out here?
Thanks and much appreciate any suggestions,
A~
- The topic ‘Stop resizing of featured image in an image post format’ is closed to new replies.