Jump to content

Centre align gallery for mobile view

Recommended Posts

Site URL: https://www.globalstagestreams.com/

Hi,

I'd like to add some CSS code so that the gallery near the bottom of the site centre aligns when viewed on mobile. It looks fine on desktop with the 5 images in a row but when I view the site on mobile the last image of the gallery is aligned to the left. Can anyone tell me what code I'd need?

 

Thanks

https://www.globalstagestreams.com/

password: global1

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1587658163210_68106 .sqs-gallery .slide:last-child {
    width: 100% !important;
    clear: left !important;
    text-align: 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

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.