Jump to content

Add border/outline around products in shop page.

Recommended Posts

Hey everyone,

I'm searching for a solution to add a thin black border around all products on shop pages if possible. 

Something like this: https://museumofpeaceandquiet.us/collections/all

So far this is what I have:

.products .grid-item {
    border: 1px solid black;
    margin: 5px;
    padding: 10px 5px;
    box-sizing: border-box;
    position: relative;
}

.products .grid-item .product-image-wrapper {
    height: auto;
    padding-bottom: 0;
}

.products .grid-item .product-image-wrapper img {
    max-height: 180px;
    width: auto;
}

Thank you!

Edited by PictureFolder
Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.