Optimal image sizes for employee section


#1

Could you please let me know what image size is optimal for the employee section of the theme? I have noticed that images below a certain size do not appear to be aligned to the centre.

Thanks


#2

There isn’t an optimal image size per se, it just needs to be wider than 310px in order to occupy the whole alloted space.
If you have smaller images than that and you would like to center them, you only need to add this:


.employee-photo {
   display: block;
   margin: 0 auto;
}


#3

Thanks Vlad. This was really helpful. (as ever)

I have used smaller images and have included that line of code but the image does not center on smaller view ports. So, on mobile in landscape mode it aligns to the left - it also aligns to the left if a resize my browser to one column.

Is there a way to fix it so it aligns to centre regardless of screen size?


#4

Where exactly can I see the employees please?


#5

http://siblingstogether.co.uk/our-team/


#6

See my answer from your other thread please.


#7

thanks Vlad: Problem is solved for this thread.