Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] How to auto size featured images to a consistent size?

Home Forums Support [Resolved] How to auto size featured images to a consistent size?

Home Forums Support How to auto size featured images to a consistent size?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #376916
    Katie Jones

    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

    #377057
    Leo
    Staff
    Customer Support

    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/

    #377073
    Katie Jones

    Yes, that’s just what I was hoping for. Thanks!

    #377093
    Leo
    Staff
    Customer Support

    No problem!

    #379202
    Stephen

    What is the filter for achieving the same result for images on pages?

    – Stephen

    #379208
    Leo
    Staff
    Customer Support
    #379212
    Stephen

    Thanks Leo!

    – Stephen

    #379219
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.