Jump to content

removing borders in product section of store.

Recommended Posts


I used this CSS code to add a 0.5px border to the bottom of each section in my site.

  article section:nth-child(n) {
    border-bottom: solid 0.5px  #7F5539;

However, for some reason in my store product section, the border appears three times inside the section (see screenshot)

Would someone please show me how to remove these borders?

Kind regards,





Edited by daniellofarrell
forgot to add website link
Link to comment
  • Replies 3
  • Views 327
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi Dan, you don't need to use nth-child if you're applying to n (i.e. all) only if you want the CSS to apply to specific items. I would try this Custom CSS instead to add an underline:

.products.collection-content-wrapper .grid-item-link {
  border-bottom: solid 0.5px #7F5539;

Hope that helps!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment



Hi Ziggy,

Thanks so much for your help.

So I am trying to subtract the three lines that I point to in the screenshot in my first post in this thread.

Maybe this could be done if I could somehow excluded the store product section from my general command:

article section {
    border-bottom: solid 0.5px  #7F5539;



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.