Jump to content

How to add white border to all images in Squarespace 7.1

Recommended Posts

  • Replies 1
  • Views 603
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This is code I used to handle for some sites, you can use this to Custom CSS. If it doesn't work, you can share site url, I can check again easier

.fluid-image-container, .sqs-video-wrapper {
    border: 3px double black;
}
.sqs-image, .sqs-image div {
  overflow: visible;
}
.image-block .content-fill, .image-block .content-fit, .content-fit img {
    width: calc(~"100% - 10px") !important;
    height: calc(~"100% - 10px") !important;
    top: 5px !important;
    left: 5px !important;
}
.content-fit img {
    object-fit: cover !important;
}

 

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

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.