How to reduce space between size selection and shopping cart button?

Solved

How to reduce space between size selection and shopping cart button?

KimGottwald
Trailblazer
235 0 34

Can someone tell me How to reduce space between size selection and shopping cart button?

The problem is explained with the picture.

Thank you!

 

KimGottwald_0-1716381590620.png

 

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10049 2390 3017

This is an accepted solution.

Hi @KimGottwald 

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:

 

fieldset#ProductSelect-option-0 {
    padding-left: 0px !important;
    margin-left: 0px;
}

div#stockbadgeholder {
    margin-bottom: 5px !important;
}

input#Quantity {
    width: 8.5rem;
}

 

And save. 

Result:

Made4uoRibe_1-1716383234103.png

 

Note: The size of the input quantity i resize same in your shipping.

 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10049 2390 3017

This is an accepted solution.

Hi @KimGottwald 

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:

 

fieldset#ProductSelect-option-0 {
    padding-left: 0px !important;
    margin-left: 0px;
}

div#stockbadgeholder {
    margin-bottom: 5px !important;
}

input#Quantity {
    width: 8.5rem;
}

 

And save. 

Result:

Made4uoRibe_1-1716383234103.png

 

Note: The size of the input quantity i resize same in your shipping.

 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.