Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Jun 11, 2020

Is there a way to ensure centre alignment of a stack/image in a section in all breakpoints?

I have a stack in a section that I want to be centre aligned vertically and horizontally on all view ports. When I do that using the alignment buttons in the inspector, it docks to top of the section for centre alignment (For e.g. vh 25% from top). When I resize the viewport, it still stays as vh 25% as oppose to realigning itself to stay in the centre which in the new size could be at vh 30%. Is there a way to ensure a certain element just stays in the centre in the section regardless of the view port size or width?

Best Answer
Jun 11, 2020

If you remove all the dock points and ensure the values in Margins are 0 px/% then it should remain center aligned.

Jun 11, 2020

That worked! Thank you so much! Life saviour!

Editor X

Design your boldest creations.