Solved

Quantity selector

Ryan1998
Excursionist
16 0 3

Anyone know how I can change from this 

Screenshot 2024-04-22 at 19.36.30.png

to this 

Screenshot 2024-04-22 at 19.34.08.png

please

Accepted Solution (1)
sahilsharma9515
Shopify Partner
995 124 189

This is an accepted solution.

Hi @Ryan1998 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

#shopify-section-template--21220955717961__main quantity-input.quantity{
width: 60px !important;
}

svg.icon.icon-minus {display: none;}

button.quantity__button.no-js-hidden {
    display: none;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1713867795383.png

 

For the quantity text there will be option in theme to change the text according to your needs, you will find the text in quantity file.

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

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

 

Best Regards

Sahil

 

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Replies 3 (3)

sahilsharma9515
Shopify Partner
995 124 189

Hi @Ryan1998 

Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.

 

Best regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


Ryan1998
Excursionist
16 0 3

yes thankyou!

easycaffe.com

sahilsharma9515
Shopify Partner
995 124 189

This is an accepted solution.

Hi @Ryan1998 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

#shopify-section-template--21220955717961__main quantity-input.quantity{
width: 60px !important;
}

svg.icon.icon-minus {display: none;}

button.quantity__button.no-js-hidden {
    display: none;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1713867795383.png

 

For the quantity text there will be option in theme to change the text according to your needs, you will find the text in quantity file.

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

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

 

Best Regards

Sahil

 

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️