Jump to content

Center images in gallery

Recommended Posts

Site URL: https://cornet-bird-5m2w.squarespace.com/news

Hi!
Password: Franklin

I wanted to center the images in this particular gallery, since it has an uneven number of items. I followed css advice from this thread in order to get that effect, but I'd like the padding and spacing to mimic the galleries on other pages on the site, like this and this. I've messed with the flex basis and the padding settings, but don't see how I can change those settings in order to have the images flush with the content area to the left and right. I'd love some help with this if anybody has any ideas.

Thanks, Lisa

Link to comment
  • Replies 1
  • Views 367
  • Created
  • Last Reply
On 9/9/2021 at 4:33 AM, duckdog said:

Site URL: https://cornet-bird-5m2w.squarespace.com/news

Hi!
Password: Franklin

I wanted to center the images in this particular gallery, since it has an uneven number of items. I followed css advice from this thread in order to get that effect, but I'd like the padding and spacing to mimic the galleries on other pages on the site, like this and this. I've messed with the flex basis and the padding settings, but don't see how I can change those settings in order to have the images flush with the content area to the left and right. I'd love some help with this if anybody has any ideas.

Thanks, Lisa

Hi,

It looks centered here. Can you explain in more detail? Thank you!

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.