Shopify themes, liquid, logos, and UX
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag
<style>
#variant-selects-template--18078747197688__main{
float: left;
width: 46%;
}
.product-form__input--dropdown {
width: 100% !important;
}
.product-form__input.product-form__quantity{
float: right;
width: 50%;
}
.quantity {
flex: 1;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hi, @Lanascoast
Please share the store URL so that I can assist you.
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag
<style>
#variant-selects-template--18078747197688__main{
float: left;
width: 46%;
}
.product-form__input--dropdown {
width: 100% !important;
}
.product-form__input.product-form__quantity{
float: right;
width: 50%;
}
.quantity {
flex: 1;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Thank you so much!! I really appreciate it
Hi @Lanascoast
You can use CSS flexbox to align these two on the same row. Unless you share your website link unfortunately we cant help with the code.
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025