Team Section - Centering

I asked this question in a different topic and got the response below

Hello,

The simplest best code to center both one and two person items would be to use this CSS code:

.widget_illdy_person{
margin: 0 auto 20px auto;
float: none;
}
It works better for 1 item, though, to use:

.widget_illdy_person{
margin: auto;
float: none;
}
I will track this and push to implement better displays for more/less items than the default 3 or 4 per section.

Regards

This works to centre them on two different lines. How can I centre them on the same line?

It’s ok - I worked it out. I used:

.widget_illdy_person {
margin: 0 auto 20px;
float: none;
display: inline-block;
}

and it worked with two people.

Great work, I’m happy that you got everything alright!