Solution provided:
PageFly-Noah suggested adding margin: 0 auto; to the .gallery__image CSS class:
.gallery__image {
width: 250px;
margin: 0 auto;
}
Outcome:
The solution successfully centered the gallery. The user noted they had been switching between themes, which may have caused initial confusion about which version was live versus in preview mode.
PageFly-Noah confirmed the same CSS code can be reused if the new theme has similar structure, otherwise adjustments may be needed.
Summarized with AI on November 17.
AI used: claude-sonnet-4-5-20250929.
My client is using a vintage theme called Minimal (I believe purchased from Theme Forest) and I have a Gallery with 3 images. I have already used this code below but I can’t work out how I can centre them. If you look at the image below, you’ll notice it’s slightly off centre (middle and right logo).