whereami Posted April 29, 2021 Share Posted April 29, 2021 Site URL: https://www.caferoyalbooks.com/shop Hi, I'm using Brine, SS 7.0. I have a product page and I'd like to add a box shadow: .ProductList-outerImageWrapper { box-shadow: 2px 2px 3px !important; } BUT...I want to exclude some products from this style. Is there a way to style individual products on the products page? I have the yui code but not sure if that's how? Thanks Link to comment
Solution creedon Posted April 30, 2021 Solution Share Posted April 30, 2021 (edited) Use the following CSS. .ProductList-item:not( .tag-no-shadow ) .ProductList-outerImageWrapper { box-shadow : 2px 2px 3px; } This is for v7.0 using the Brine template family. Then add tags to the products you don't want shadow boxes on. You can of course change the tag name to anything you want. It just needs to start with tag-, in the CSS. Let us know how it goes. Edited April 30, 2021 by creedon clarification tuanphan and whereami 1 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
whereami Posted April 30, 2021 Author Share Posted April 30, 2021 @creedon that's amazing! thank you creedon 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment