How Do I get Image whole image to show in Flex Box 2?

Posted in: Newspaper
Post count: 14

Hi all,

I am using flex-box-2 on my homepage currently. I am trying to edit in Composer to make the entire image fit the <div>, but can’t do it in composer.

When I try to edit the CSS, I seemingly cant figure it out either.

Long story short I am trying to make my whole image show inside flex-box-2, not just a portion of it.

I should be able to do this with “object-fit: contain”.

Pretty frustrated as it seems to not work for any flexboxes.

Post count: 21065

Hello!

Check this guide: https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Post count: 14

I tried, but still not working. Nothing in there explains how to make an image scale with the div as a full image. I’ve tried with custom CSS but nothing seems to work.

Post count: 21065

Hello!

You need to play with those settings to achieve what you need: https://prnt.sc/6_p_EmZvpObI

Thank you!

Post count: 14

I’ll give it a try, I’m sure I played around with those settings but couldn’t get the image to fit. What image dimensions do you recommend for a featured image

Post count: 35449

Hi,
We recommend that the image dimension to be at least as the same dimension with the biggest thumb that you are using. Those can be seen in the theme panel, for example-> https://i.imgur.com/d1BUw93.png
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.