Default image sizes
-
I’m not sure if this should be classified as “developing” but I hope it fits in this forum.
I am modifying a very simple theme by developing a simple child theme, and I’m having a problem with featured images.
The theme doesn’t specify image sizes in functions.php, and so relies on the default image sizes set by WordPress. The featured images are 640 px wide, as is the single column width. (The theme is deliberately simple to make it fast on mobiles.)
I want to make the column and image width 720 px. Changing the width of both container and image is easy, but although the images are stored as 720 px they still show on the page as 640 px. When I use “inspect Element”, I see this width is set not in the CSS, but as “HTML atrtributes” with a little padlock shown against it.
How do I make the change I want?
And also, what is the best practice in deciding whether to specify other smaller images for smaller screens?
Thanks for any help.
- This topic was modified 5 years, 2 months ago by . Reason: ;wpeMoved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Default image sizes’ is closed to new replies.