Jump to content

Change margin for image:card on mobile?

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
.homepage .design-layout-card .image-card>div {
    padding-left: 5%;
    padding-right: 5%;
}
}

 

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
11 minutes ago, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:640px) {
.homepage .design-layout-card .image-card>div {
    padding-left: 5%;
    padding-right: 5%;
}
}

 

Thank you, this is working perfectly for the image card in the screen shot. However, there is an image card right underneath it (and on another page) and the margins don't seem to be aligning exactly the same? Any suggestions? 

Link to comment
  • 4 months later...

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.