Jump to content

add a border to product detail page

Go to solution Solved by CassAggett,

Recommended Posts

  • Solution
Posted

@Barbi Give this a go - paste in your custom CSS panel:

// main product image //
.tweak-product-basic-item-gallery-design-slideshow .ProductItem-gallery-slides-item {
  border: 2px solid hotpink;
  box-sizing: border-box;
  box-shadow: 0 0 6px 0px hotpink !important;
  width: 98%;
  height: 98%;
  margin-left: 1%;
  margin-top: 1%;
}

// product thumbnail //
.ProductItem-gallery-thumbnails-item img {
  border: 2px solid hotpink;
  box-sizing: border-box;
  box-shadow: 0 0 6px 0px hotpink !important;
}

It's probably not perfect with the glow around the border radius but here's what this looks like on my end:

image.thumb.png.05ec45e1c446a6bd5d45c96b08ab1966.png

Instruction: How to set a site-wide password

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.

WEBSITEINSTAGRAM

 

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.