Re: How to move quantity selector left from Add to Cart Button - Refresh Theme

Solved

How to move quantity selector left from Add to Cart Button - Refresh Theme

flo3393
Excursionist
32 2 6

Hi there,

 

how can i move the quantity selector to left side of the add to cart button. Both should have the same size and "count" naming of quantity selector should not be displayed. I am using refresh theme.

flo3393_0-1713447394905.png

 

 
 
 
 
 
Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8220 1972 2412

This is an accepted solution.

Yeah, sure this is in the mobile screen right? 

Adding this code in the base.css.

 

@media only screen and (max-width: 749px){
.product-form__buttons {
    max-width: 100%;
}
}

 

And save. 

if not working add !important. 

Result:

Made4uoRibe_0-1713456081379.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 17 (17)

niraj_patel
Shopify Partner
2378 514 511

Hello @flo3393 

Can you share store url?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- [email protected]
flo3393
Excursionist
32 2 6

https://www.jamocards.de/products/pokemon-sv1a-triplet-beat-30er-display-japanisch

I have a part done. But the quantitiy selector and add to cart has to be same heigh. Can you have a look?

Made4uo-Ribe
Shopify Partner
8220 1972 2412

Hi @flo3393 

Is this solve? The quantity and the payment button is same height. 

this is for the quantity, 4.5rem

Made4uoRibe_0-1713453390142.png

And the payment button 4.5rem.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
flo3393
Excursionist
32 2 6

I fixed it i think. Can you have a look that the Add to cart button should be on complete witdh to the right because on some resizings it is not complete witdth?

flo3393_0-1713455323863.png

 

 
 
 
Made4uo-Ribe
Shopify Partner
8220 1972 2412

This is an accepted solution.

Yeah, sure this is in the mobile screen right? 

Adding this code in the base.css.

 

@media only screen and (max-width: 749px){
.product-form__buttons {
    max-width: 100%;
}
}

 

And save. 

if not working add !important. 

Result:

Made4uoRibe_0-1713456081379.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
flo3393
Excursionist
32 2 6

Will try later. Can you have a look on payment icon section as well? In some smaller screen sizes one icon is placed in new line but should be all in one line. 

Made4uo-Ribe
Shopify Partner
8220 1972 2412

That is normal when the screen gets smaller it will squeeze. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
flo3393
Excursionist
32 2 6

Not possible that icons will get a little bit smaller automatically so that they will fit in one line?

sleepyd
New Member
10 0 0

Hello, I tried adding this at the bottom of my base.css file but it didn't do anything? Am I putting it in the wrong place? 

 

Screenshot 2024-06-11 at 11.31.49.png

 

Made4uo-Ribe
Shopify Partner
8220 1972 2412

Hi @sleepyd 

Would you mind to share your store URL? Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sleepyd
New Member
10 0 0
Made4uo-Ribe
Shopify Partner
8220 1972 2412

Thanks for the info, check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

form .product-form__buttons {
    max-width: 100%;
} 

 

And save. 

Result:

Made4uoRibe_0-1718644442786.png

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sleepyd
New Member
10 0 0

Thank you for taking the time to respond @Made4uo-Ribe I tried adding the code to the Base.css file as that was the only one available, unfortunately nothing happened when I saved it. 

 

These are the css options I have: 

 

Screenshot 2024-06-18 at 09.51.41.pngScreenshot 2024-06-18 at 09.51.55.pngScreenshot 2024-06-18 at 09.52.05.png

Made4uo-Ribe
Shopify Partner
8220 1972 2412

Try this one then. 

Go to Asset find > section-main-product.css > and look for the code below. 

Made4uoRibe_0-1718716560938.png

You can check by the number or control+F then typen the ".product-form__buttons"

change the 44rem into 100% like this below. 

Made4uoRibe_1-1718716642276.png

be sure not remove another sign or add more. must be same in the image sample. 

And Save. Resfresh browser for preview. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sleepyd
New Member
10 0 0

Thank you again for your help, I implemented the change but unfortunately it did not change anything. 

Made4uo-Ribe
Shopify Partner
8220 1972 2412

The button already change. I see the code you paste. 

Made4uoRibe_0-1719333306013.png

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sleepyd
New Member
10 0 0

Screenshot 2024-06-25 at 10.58.11.png