How to align Wix repeater elements to the center?

Hi! I’m creating an events website, where we will have to insert some speakers. I’m using a repeater with a database, but this one is left-aligning. I would like the elements (speakers) to be aligned in the middle, as in the attached example. It would be possible? Thanks!

Hi, Fernando.

You can change your repeater’s width in wixEditor manually. This will automatically reduce the number of items displayed per line in the repeater. Then, all you have to do is to align the repeater element center position manually.

Thanks! But I don’t believe it would be viable. I’m working with a database of speakers, and these should be in alphabetical order. I’m afraid that if I separate the repeater, the data might repeat itself or be out of order.
I was wondering if there was some way to do this through code.

maybe you can sort speakers in alphabetical order by using setFilter().

like this…

$w("#yourDatasetName").setFilter( wixData.filter()
  .ascending("speakersName")
);
.ascending() query feature at String data.
→ String: Sorts lexicographically, so "abc" comes after "XYZ".

Just trying to boost this. I would love it if repeaters that are center aligned would center the bottom row - sometimes it’s impossible to make this work using other formatting (as in the example above where there are seven items that can’t all fit into one row).