White spaces in CMS

I have a CMS collection that has 10 images sections and 10 text behind the images, the question is, It’s possible to not show a white gap when the collection is published but don’t have images (for example I put 6 images so are left 4 images left) that image generates a white space when its empty?


Here is my public share link: LINK
(how to access public share link)

Unfortunately the public share link doesn’t seem to work here…


You can set Conditional visibility by clicking on the Container, going to Settings, and scrolling down to Conditional visibility. Then you can set parameters depending on how your CMS is set up, like Element is visible when Image 1 is set. That way if you don’t have an Image 1 set, the container will be hidden.