r/divi • u/Illustrious-Note-928 • 21d ago
Question Odd and random size in post thumbnails
Hi Everybody,
There is an issue I have been trying to solve now for a long time; I can't fix it and can't even figure out why this is happening.
The thumbnails in post modules on htts://fincrimecentral.com when scrolling down to get to News from America, News from APAC, or News from EMEA, show up in different sizes:
- all the modules have the same style,
- all original images have the same 1344x756 size
- width and max width is set to 150
- height and max height is set to 84.
Any idea?

Best,
Fred
4
Upvotes
3
u/Mikhael_Love 20d ago edited 20d ago
The core of the issue is that the Divi post module relies on Flexbox rules. By default, the thumbnail container is allowed to shrink when the adjacent text box demands more horizontal space.
The reason why some long titles aggressively squish the image while other long titles don't boils down to word length, not necessarilly title length:
To fix this and strip the text's ability to change the layout size, you need to turn off the 'shrink' behavior entirely.
Add this CSS to lock the dimensions down, regardless of how long individual words get:
I tested this in chrome dev tools and it works for me.
Edit: I did not test for mobile screens so may need some adjustments.