Jump to content

Styling Product Block border - producing double border?

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
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;
}

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

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.