Shopify themes, liquid, logos, and UX
Hi,
I wish to get the "quantity selector" and the "add to cart" button on the same line.
In this forum, I get a solution with the code below, which seemed to work at the first sight.
In theme.liquide, before the "</head>"
<style> .button--full-width { width: calc(100% - 150px) !important; margin-top: -72px; margin-left: 150px; } </style>
but I noticed 2 bugs :
Do you have proper solution to put it on a same line ?
My web site : https://www.barreclandestine.com/
Many thanks for your help !
Solved! Go to the solution
This is an accepted solution.
Please use this code instead of
<style>
.product-form__buttons {
width: calc(100% - 150px) !important;
margin-top: -72px;
margin-left: 150px;
}
</style>
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Please use this code instead of
<style>
.product-form__buttons {
width: calc(100% - 150px) !important;
margin-top: -72px;
margin-left: 150px;
}
</style>
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Many thanks Dan !
It looks great for the widget "add to cart" 👍
But the variant is still covering the 4 options (30€, 50€, 75€ and 100€) :
Recommend you enable quantity option for that product template
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
it work great many thanks for your time !
Happy I could help ❤️
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This works amazing, Tho I am just wondering would their be a way I could exclude subscription products? as it now sits ontop of my subscription box products. - Works amazing for all other products. Thank you appeciate if you could reply. 🙂
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025