I am trying to replicate the gallery (collection) used on www.stellahernandez.com. I have it working fairly well using a tween classes - see here http://www.nickmard.co.nz/v1/main.html - but am having problems figuring out how to center the selected image horizontally on the screen?
From what I can tell her site centers regardless of resolution. I have setup a test for the resolution and done some calculations based on that, but I just don’t seem to be able to nail it so that I don’t have to center simply based on what number pic it is ie not adjust it manually.
Any ideas appreciated :thumb: