Outlast-Creative Posted October 19, 2021 Share Posted October 19, 2021 Site URL: https://reindeer-blenny-m5mk.squarespace.com/store/p/apple-macbook-pro-13-m1-soc-256gb-ssd-macos-space-grey-laptop Hi all, I'm trying to add some padding to these blocks in the image attached. But I'm having trouble finding the right code. My code is below. It would be great if someone can help. Password to test site is: password123 .product-variants { display: flex !important; } .variant-option-title { font-size: 16px; padding-top: 0px !important; } .variant-select-wrapper { font-size: 12px } .quantity-label { font-size: 16px } .ProductItem-details .product-quantity-input input { font-size: 12px } .product-details .variant-select-wrapper::after { position: absolute; top: 28px; right: 1rem; transform: rotate( 45deg); border-bottom: 1px solid; border-right: 1px solid; height: 0.5rem; width: 0.5rem; transform-origin: center top; pointer-events: none; font-size: 0.5rem !important; } .ProductItem-details .variant-select-wrapper select { border: 0.5px solid grey; border-radius: 3px; } .ProductItem-details .variant-option select, .ProductItem-details .product-quantity-input input { appearance: auto border: 0.5px; border-radius: 6px; padding: 20px; float: left; margin-bottom: 64px; } Link to comment
tuanphan Posted October 20, 2021 Share Posted October 20, 2021 It looks like you solved with this code? .product-variants { display: flex !important; display: grid; grid-column-gap: 1vw; grid-row-gap: 1vw; } Outlast-Creative 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!) Link to comment
Outlast-Creative Posted December 6, 2021 Author Share Posted December 6, 2021 Perfect! Thank you! @Tuanphan 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