Jump to content

How to change the spacing on mobile between images.

Recommended Posts

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1642627841472_105740+.row+.row .image-block .has-aspect-ratio {
    padding-bottom: 55% !important;
}
}

 

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
20 hours ago, Nali said:

tuanphan 

Unfortunately I broke it again, I deleted the spacer above and I'm not sure, if from this reason, but  definitely  this code stopped working. 
Can you help me again? 

Use this code

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1643213375383_11901+.row .image-block .has-aspect-ratio {
    padding-bottom: 55% !important;
}
}

How about making 2 images/row on mobile?

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.