Adjust positioning for collection when image is not set

Hi there, new to Adalo here.

I’m creating a social feed where users can post images or text.

When the image is not displayed, I need the rest of the containers content to align to the top with no white space. Image below – I appreciate your help!

Hi @seanpritzkau,

Welcome to the community :partying_face:

You can add a visibility condition to the Image component as visible if Current Post > Image > is not equal to > empty. And that should be hidden when there’s no image and the other components should come to top.

Thank you

That did the trick – thanks @dilon_perera!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.