Jump to content

Change margin for image:card on mobile?

Recommended Posts

  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply
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...

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.