Hi,
Please can someone help identify the code change to move the quantity selector next to add to cart button in Vision Theme?
Thanks so much!
Hi,
Please can someone help identify the code change to move the quantity selector next to add to cart button in Vision Theme?
Thanks so much!
Hi @bradpc
Please share your website so we can provide a code appropriate for you
Thank you - please see this preview link:
Hi @bradpc
Please follow the instructions below
For Shopify 2.0 Free themes, you can follow the instructions below.
product-form.product-form {
width: 70%;
position: absolute;
top: 20vh;
left: 7rem;
}
quantity-selector.quantity.buttons_added > * {
height: 50px;
}
quantity-selector.quantity.buttons_added {
border-radius: 7px;
}
.product-information {
position: relative;
}
Result here:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks for your suggestion. I have tried but please see how it is coming out on mobile, the add to cart button seems to be floating higher.
Hi @bradpc
Sorry about that. Fixed the issue. Please change the code with the following
product-form.product-form {
width: 70%;
position: absolute;
top: -80px;
left: 7rem;
}
quantity-selector.quantity.buttons_added > * {
height: 50px;
}
quantity-selector.quantity.buttons_added {
border-radius: 7px;
}
#ProductInfo-template--16973026656505__main-product > div:nth-child(6) {
position: relative;
}
thanks for your code.
On my website: "https://weinhausottopaus.myshopify.com/products/weingut-hilz-grauburgunder-trocken-2023?_pos=1&_psq=hilz+graub&_ss=e&_v=1.0" password is “lakoer”, I also try to fit the “add to cart / In den Warenkorb” button next to the quantity. I also would like to make a thin line around the quantity like it is shown in the images here in the thread.
Could you help me with the correct code?
Which information do you need else?
Thanks a lot in advance!
Best
Julian