Archived topic
How to auto size featured images to a consistent size?
7 replies · Started by Katie Jones on August 31, 2017
Hi there,
I'd like to auto display featured images at a consistent size, by having either WordPress or the browser scale/shrink/drop the original image - so that when I look at the column layout on the blog, it looks like a grid of images, all the same size. How can I do this in code - either WP, js, css? What's offered in GP and what would I need to implement separately?
Thanks!
Katie
Hi Katie,
Featured image on the posts page?
If so you should be able to use the customizer or a filter: https://docs.generatepress.com/article/adjusting-the-featured-images/
Yes, that's just what I was hoping for. Thanks!
No problem!
What is the filter for achieving the same result for images on pages?
- Stephen
Thanks Leo!
- Stephen
No problem :)