How to put Size and quantity side by side on the product pages Dawn theme

Solved

How to put Size and quantity side by side on the product pages Dawn theme

Lanascoast
New Member
4 0 0
Accepted Solution (1)
AnneLuo
Shopify Partner
1299 228 266

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:

AnneLuo_1-1721525883938.png

 


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 6 (6)

AnneLuo
Shopify Partner
1299 228 266

Hi, @Lanascoast 

Please share the store URL so that I can assist you.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Lanascoast
New Member
4 0 0
AnneLuo
Shopify Partner
1299 228 266

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:

AnneLuo_1-1721525883938.png

 


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Lanascoast
New Member
4 0 0

Thank you so much!! I really appreciate it 

 

Entesta
Shopify Partner
80 8 20

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.

We value your feedback! Let us know if this helped by giving it a thumbs up or marking it as a solution or buy us a coffee.
Looking for Shopify experts to help you with your website? We are just one click away. Drop an email or say hi on WhatsApp to initiate a request support@entesta.com | +91 79083 21294
Entesta - Powering Your E-Commerce Journey with Shopify Expertise
Lanascoast
New Member
4 0 0

Here the url and pass

https://b1aad4-16.myshopify.com/?_ab=0&_fd=0&_sc=1

 

Pass:Mystore2024