I’m using the Horizon theme in Shopify and I want to customize the product card on the home page. Specifically, I want the Add to Cart button and the quantity selector to appear on the same row.
Currently, this layout works on desktop when I set the number of products to 3 per row, but the product images become too large.
What I want is to display 4 products per row while still keeping the Add to Cart button and quantity selector on the same line.
I have tried multiple configurations using the default settings available in Shopify, but it’s not working as expected. On mobile, it also doesn’t look good because the Add to Cart button and quantity selector appear on two separate rows.
Is it possible to customize the code to achieve this layout?
Well, you can’t beat the nature, if the stuff does not fit – you can do nothing.
You can decrease the padding on the cart button, change the wording (keep omly “Add” or “Sold”).
You should not really decrease spacing on + and - buttons otherwise people with fat fingers will have problems.
The best I could do with 4-per-row on desktop widths is this. For widths less than 910px it starts to wrap anyway…