Jump to content

Center a gallery on mobile

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

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

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

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

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.