Site logo

[Resolved] How can we have featured image have same size

Home Forums Support [Resolved] How can we have featured image have same size

Home Forums Support How can we have featured image have same size

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1973857
    Mohammed

    Hi,

    I Hope this message finds you well.

    I’m having a blog with varied featured images sizes, portraits. It’s look messy like that.

    I’m using a content template element, but the sizing in the dynamic featured image is not working.

    So is there a way to crop image to same size?

    https://staging.tripletsmum.com/blog/

    Thanks.

    #1973955
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .dynamic-featured-image, .dynamic-author-image {
        max-height: 250px;
        object-fit: cover;
    }

    The alternative method is to edit the Content Template. Replace the Dynamic Image Block with a Container Block, give that block Spacing a minimum height eg. 250px. Set the Background Image and then in the Container blocks toolbar set the Dynamic Background to Featured Image.

    #1973961
    Mohammed

    Thank you very much,

    Second method worked perfectly. First option was still having issue with smaller images.

    #1973963
    David
    Staff
    Customer Support

    Awesome – glad to hear that worked!

    #2434874
    Justin

    The alternative method is to edit the Content Template. Replace the Dynamic Image Block with a Container Block, give that block Spacing a minimum height eg. 250px. Set the Background Image and then in the Container blocks toolbar set the Dynamic Background to Featured Image.

    Wow, thanks so much David! This one was really stumping me. Setting a background image (that ultimately, isn’t displayed) was not intuitive so I’m so glad you knew about this!! Thanks a million.

    #2435365
    David
    Staff
    Customer Support

    Glad to be of help!

    #2580395
    rex wickham

    Extremely useful answer!

    #2580402
    David
    Staff
    Customer Support

    Glad to hear that was of help!

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