Jump to content

How to target all product pages

Recommended Posts

I want to set all of my product pages (and only product pages) to have specific padding. Currently I am using each product page's ID to do this, but it's not ideal. Is there a way to target all the product pages? Below is my current code for a single page.

#item-5e07ba22afc7590ba06d1de8 section.Main-content {
padding: 80px 0px 0px 0px !important;

Link to comment
  • Replies 2
  • Views 952
  • Created
  • Last Reply


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.