Guest Posted January 29, 2023 Share Posted January 29, 2023 Im simply trying to place summary items (dragged from a different store) in two per row beneath a product detail page, but there seem to some padding or margin (top) on each summary item that i cant figure out how to remove. Page: https://www.palmfiction.dk/palms/p/kentia-90cm Im using this custom css: @media only screen and (max-width: 767px) { .summary-item-list { display: flex; flex-wrap: wrap; } .summary-item { width: 45% !important; margin: 4vw 2vw !important; } } Does anyone know the solution for 7.1 store? Thanks in advance. Link to comment
Solution tuanphan Posted February 3, 2023 Solution Share Posted February 3, 2023 You mean this margin? Don't remove any code in your current code. Add this to Design > Custom CSS @media screen and (max-width:767px) { section.ProductItem-additional .summary-item-list { height: auto !important; } section.ProductItem-additional .summary-item { position: static !Important; height: auto !important; } } 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
Guest Posted February 5, 2023 Share Posted February 5, 2023 You are a lifesaver. 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