All things Shopify and commerce
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;
}
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