How to crop feat. images on blog index?
-
Hi!
We have a lot of authors submitting blog posts to our site. Every one uses a featured image of different sizes. We want to have the featured images on blog index to all appear in the same aspect ratio e.g. 16:9 but keep the responsiveness.
It’s a lot of work for me download all the images, crop them manually in photoshop and reupload them to the posts so I am looking for a way to just crop them on the frontend / blog index view.Storefront has sadly no option in the backend to set image sizes. It just uses the images “as they are”.
I tried to work with something like
img.attachment-full.wp-post-image {
object-fit: cover;
}
but I don’t now how to keep the responsiveness alive then.Any help is very appreciated!
The page I need help with: [log in to see the link]
- The topic ‘How to crop feat. images on blog index?’ is closed to new replies.