whereami Posted May 31 Posted May 31 (edited) Hello, I have very recently switched to 7.1. In 7.0, I used code (provided, kindly, on this forum) to create a drop shadow around product images on the 'product list' pages, and 'related products' within each product page. I'm having trouble applying the code in 7.1 and wondered if anyone could help please. Site is caferoyalbooks.com. I've attached a screenshot of the 7.0 site to show the shadow. Thanks The code I was using: .ProductList-item:not( .tag-nosh ) .ProductList-outerImageWrapper { box-shadow : 2px 2px 3px; } .ProductItem-relatedProducts-outerImageWrapper{ opacity: 91% !important; } .ProductItem-relatedProducts-item ( .tag-nosh ) .ProductItem-relatedProducts-outerImageWrapper { box-shadow : 2px 2px 3px; } .ProductItem-relatedProducts-outerImageWrapper { box-shadow : 2px 2px 3px; } Edited May 31 by whereami link added
tuanphan Posted June 2 Posted June 2 You can use this CSS code div.grid-item:not(.tag-nosh) { box-shadow: 2px 3px 4px; } whereami 1 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!)
whereami Posted June 2 Author Posted June 2 3 hours ago, tuanphan said: You can use this CSS code div.grid-item:not(.tag-nosh) { box-shadow: 2px 3px 4px; } thank you @tuanphan — that works but also includes the item price and title in the drop shadow. Is there a way to only include the image?
Solution tuanphan Posted June 3 Solution Posted June 3 On 6/2/2024 at 10:25 AM, tuanphan said: You can use this CSS code div.grid-item:not(.tag-nosh) { box-shadow: 2px 3px 4px; } Remove this & use new code div.grid-item:not(.tag-nosh) .grid-image { box-shadow: 2px 3px 4px; } whereami 1 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!)
whereami Posted June 3 Author Posted June 3 10 minutes ago, tuanphan said: Remove this & use new code div.grid-item:not(.tag-nosh) .grid-image { box-shadow: 2px 3px 4px; } thanks very much again for your help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment