Jump to content

Styling Product Block border - producing double border?

Recommended Posts

  • Replies 2
  • Views 384
  • Created
  • Last Reply
20 minutes ago, mhook said:

I've been trying use CSS to style the border of the Product Block, however it's producing a double border (inside and outside).

Almost there! You're targeting the wrong class. 🙂

There are two product-block classes and that's why you see two borders. Use sqs-block-product instead:

.sqs-block-product {
    background: #e0e0e0;
    border: 1px solid black;
}

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

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.