Change size and alignment of featured images
-
I’d like to make a few adjustments to the featured images on posts and pages.
1. I want the image to be above the text rather than forming an L-shape around it. I’ve made this change successfully for posts using this code: `.post-thumbnail + .entry-header {
margin-top: 0;
}`
However, I have not figured out how to change this on pages.2. I want the image to be aligned with the post. By default, it stretches all the way to the left side of the background.
3. I would like the images to appear true to their original proportions. In other words, they should always be the width of the post, but the height will vary depending on the size of the original image. Currently the images are being cropped.
I have seen similar questions posted in this forum, but have not been able to find a thread that was resolved. Any help would be greatly appreciated!
- The topic ‘Change size and alignment of featured images’ is closed to new replies.