Jump to content

Center a gallery on mobile

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Home > Design > Custom CSS

/* Center gallery */
@media screen and (max-width:640px) {
#block-yui_3_17_2_1_1601276897040_11913 .sqs-gallery-block-grid .sqs-gallery-design-grid {
    display: flex;
    justify-content: center;
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 10/23/2020 at 12:33 PM, tuanphan said:

Add to Home > Design > Custom CSS


/* Center gallery */
@media screen and (max-width:640px) {
#block-yui_3_17_2_1_1601276897040_11913 .sqs-gallery-block-grid .sqs-gallery-design-grid {
    display: flex;
    justify-content: center;
}
}

 

Thx! Gonna give it a try 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.