antinranta Posted March 10, 2022 Share Posted March 10, 2022 (edited) Site URL: https://www.kiriljuha.com/print-store https://www.kiriljuha.com/print-store Could anybody help with my shop? I'm a noobie when it comes to coding. I have both Portrait and Landscape images with drop shadows + white borders (hover) at my shop. This is the code I've used for the drop shadows= Quote .post-type-store-item .grid-image { -webkit-box-shadow: 6px 19px 14px -5px rgba(0,0,0,0.75); -moz-box-shadow: 6px 9px 14px -5px rgba(0,0,0,0.75); box-shadow: 7px 9px 14px -px rgba(0,0,0,0.75); } This is the code for the white borders (hover)= Quote .post-type-store-item:hover .grid-image { border: 7px solid #FFFFFF; box-sizing: border-box; } This is the code for the portrait photos to be in portrait mode, in the store. Quote .products.collection-content-wrapper .grid-item .grid-image-cover { object-fit: contain !important; } I'm looking for a code that would delete the landscape drop shadows on the portrait photos. And the code would make the drop shadows on the portrait photos, in a portrait mode. But still remaining the landscape drop shadows, in landscape photos. + White borders on hover on both styles. Any help? I would really appreciate it. Edited March 13, 2022 by kiriljuha url changed again Link to comment
tuanphan Posted March 13, 2022 Share Posted March 13, 2022 The url doesn't exist. Can you check it again? https://www.kiriljuha.com/prints 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
antinranta Posted March 13, 2022 Author Share Posted March 13, 2022 @tuanphan Hey, it's this one: https://www.kiriljuha.com/print-store The store is online, so I deleted the drop shadows for now because it looked bad with the portrait photos. But still looking for the code. Link to comment
tuanphan Posted March 14, 2022 Share Posted March 14, 2022 Did you send all code? I tried adding code, but no shadow appear 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment