Jump to content

How can I center my gallery grid instead of having it left-aligned?

Recommended Posts

Posted

I have several gallery pages which I would like to display in Grid format. However, some galleries have just one or two images in them. How can I edit the gallery to center the images in the middle of the page, rather than having them left-aligned? I am using the York template.

  • Replies 7
  • Views 2k
  • Created
  • Last Reply
  • 9 months later...
  • 1 month later...
Posted
On 10/29/2020 at 9:43 AM, laurwhyyy said:

Hi @tuanphan

I am having the same issue! On this page https://laurawhiteuhlir.com/design and this page https://laurawhiteuhlir.com/olive. I'd like it to be full page like it is on the homepage https://laurawhiteuhlir.com/

Any insight is appreciated!

Thanks!

Add to Page Settings > Advanced > Header

<style>
  section#page {
    max-width: 100%;
}
</style>

 

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!)

Posted
4 hours ago, tuanphan said:

Add to Page Settings > Advanced > Header


<style>
  section#page {
    max-width: 100%;
}
</style>

 

Seems this is a premium account only feature. Any other ideas?

Thank you!

Screen Shot 2020-10-30 at 3.52.50 PM.png

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.