Streaming live at 10am (PST)

Collection item don't fit


I have a problem with my collection list, one collection item don’t fit good.
page: plastische chirurgie (folder: behandelingen)

Kind regards

Here is my site Read-Only: *

Hi @nicolas.winderickx This is standard behaviour as your block element doesn’t fit it will go automatically under. You’re looking for MASONRY grid. There are few options how to achieve it.

Simplest way is to choose number of columns for text. (images are treated as text - inline elements )
here is an EXAMPLE but I would not recommend it in this situation.

Second option is to use CSS Grid with dense option enabled. You can find more in YT.

Third option is to use JS like MASONRY JS but out there is more libraries for Masonry layout.

Thank you!

Have a nice day.

1 Like