Peter550 Posted May 19, 2021 Share Posted May 19, 2021 (edited) I would like to have the variants 'Size' & 'colour' side by side, and below it have the 'quantity' and 'add to cart' side by side. so its like in a grid of 4? What is the custom CSS for this? @tuanphan Edited August 2, 2021 by Peter550 Link to comment
Agha_Waqas Posted May 19, 2021 Share Posted May 19, 2021 46 minutes ago, Peter550 said: Site URL: https://www.saccostyle.com/ I would like to have the variants 'Size' & 'colour' side by side, and below it have the 'quantity' and 'add to cart' side by side. so its like in a grid of 4? What is the custom CSS for this? @tuanphan Hi. you can use below code for it. copy/paste code into CSS editor @media (min-width: 768px) { .ProductItemVariants { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; .ProductItem-product-price { flex-basis: 100% !important; } .ProductItem-details-excerpt { flex-basis: 100% !important; order: 2; } .product-variants { flex-basis: 100% !important; .variant-option { margin: 0 10px 0 0; } } .product-quantity-input { flex-basis: 49% !important; margin-right: 10px !important; } .sqs-add-to-cart-button-wrapper { flex-basis: 48% !important; } } } Link to comment
Peter550 Posted May 20, 2021 Author Share Posted May 20, 2021 I'm afraid this doesnt work! @Agha_Waqas Link to comment
Agha_Waqas Posted May 20, 2021 Share Posted May 20, 2021 1 hour ago, Peter550 said: Hi. May be you were doing something wrong. That code was working for me. If possible you can inbox me logins l will fix this or other issues. These are not quite complex issues. 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