How to vertically align in a dynamic repeater boxes?

I have a text and image that I want to align horizontally centred.

When I do this, 1 line of text is fine. But when there are 2 lines of text, the container element is stretched.

image

I’ve tried placing the text input element and image in a container but text doesn’t automatically centre vertically as the lines increase to 2 lines.

I’ve also tried to group the image and text input elements together.

The compromise I was able to accept was to increase the height of the text image to the same height as the image while there is misalignment with 1 line of text


I have looked at other posts for reference:

Question - is there a way to automatically centre the text as the number of text lines increases?

1 Like

You work on Wix-Studio?

Should there be an option → called → ‘maxWidth’ where you can set the maximum WIDTH (the same for HIGHT) of a CONTAINER?

Let’s say you pull all your elements into a specific CONTAINER and give this container a fixed max. hight and width → would this work ?

Try it out.

No, just Wix Classic editor, will give Wix Studio a shot if editor doesn’t have that option

On the ordinary Wix-Editor you do not have that much possibilities, but there are maybe quite different WORKAROUNDS.

Maybe this post can help you out…

Or you use another technique called → READ-MORE
In this case you set a fixed length of characters which can be added to each of repeater-items.
Those which have a bigger length of used characters in the description, those will be cropped → that means after the character-limit was reached —> … ← dots at the end of the text will be added and a READ-MORE-BUTTON occurs.

This way → all your REPEATER-ITEMS will have the same description-lenght (always same amount of CHARACTERS).