Jump to content

Styling Product Block border - producing double border?

Recommended Posts

  • Replies 2
  • Views 438
  • 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;
}

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.