prudie09 Posted February 8, 2020 Share Posted February 8, 2020 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
tuanphan Posted February 8, 2020 Share Posted February 8, 2020 If you use SS 7.0, try .collection-type-products.view-list .collection-type-products.view-item If you use SS 7.1, can you share link to your shop page? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
prudie09 Posted February 9, 2020 Author Share Posted February 9, 2020 Thank you so much, .collection-type-products.view-item worked perfectly! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.