All things Shopify and commerce
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
The variant picker dropdown is much larger than the text inside. I am guessing the maybe margin is set to big. Does anyone know the code to contour this box more to the size if the text?
Picture below.
Thanks!
Hey @bryan76
Kindly share your Store URL and Password if enabled
This would be general to anyone using Dawn theme with that option. it is on 9.0 currently. no need to know my url. I am just looking for the basic code and will adjust as needed. Thanks!
Add this to the bottom of your section-main-product.css and update "100%" to the percentage or ##px you want the width of your box to be:
.product-form__input {
max-width: 100% !important;
}
.product-form__input .select {
max-width: 100% !important;
}