Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
hi!
how can i make the quantity selector and add to cart button in the same row for mobile on the product page? on desktop it is in the same row but on mobile it is not. I'm using dawn theme.
diilara.com
Solved! Go to the solution
This is an accepted solution.
Try this out. Open your main-product.liquid file from your theme code editor and paste this at the top of everything else.
<style>
@media(max-width:749px){
.product-form__quantity{
float:left;
width: 25%;
}
.product-form{
float: right;
width: 65% !important;
margin-top: 2rem !important;
}
.product__description{
clear: both
}
}
</style>
Please Share your store url.
diilara.com
This is an accepted solution.
Try this out. Open your main-product.liquid file from your theme code editor and paste this at the top of everything else.
<style>
@media(max-width:749px){
.product-form__quantity{
float:left;
width: 25%;
}
.product-form{
float: right;
width: 65% !important;
margin-top: 2rem !important;
}
.product__description{
clear: both
}
}
</style>