Jump to content

Code to add image border not working correctly

Recommended Posts

Hey there! 

I'm trying to add image borders to some images (with the link #border) and using this code 

.sqs-block-image-link[href*="border"] {

  img {

    border:2px solid black !important;



But it's only showing a border on the top and left side of the image, not all the way around. 

Here's the link to the website...

password: ayurveda

Thanks for the help! 

Screen Shot 2023-06-20 at 2.17.56 PM.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks 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.