How to change the size for color swatch in product page

Solved

How to change the size for color swatch in product page

NOT1
Shopify Partner
282 2 127

How to change the size for color swatch circle in product page in DAWN theme 

Accepted Solutions (3)

Tech_Coding
Shopify Partner
514 132 131

This is an accepted solution.

Hello @NOT1 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
   .product-form__input--swatch .swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.8rem !important;
    }
}
</style>

Tech_Coding_0-1726130794843.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @NOT1

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.5rem !important;
    }
</style>

 Hope this can help you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

topnewyork
Astronaut
1332 161 220

This is an accepted solution.

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
@media screen and (min-width: 750px) {
   .product-form__input--swatch .swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.6rem !important;
    }
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

View solution in original post

Replies 5 (5)

topnewyork
Astronaut
1332 161 220

Hi @NOT1 , please share your store URL. Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
NOT1
Shopify Partner
282 2 127

Thanks

topnewyork
Astronaut
1332 161 220

This is an accepted solution.

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
@media screen and (min-width: 750px) {
   .product-form__input--swatch .swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.6rem !important;
    }
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

Tech_Coding
Shopify Partner
514 132 131

This is an accepted solution.

Hello @NOT1 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
   .product-form__input--swatch .swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.8rem !important;
    }
}
</style>

Tech_Coding_0-1726130794843.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @NOT1

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.swatch-input__input+.swatch-input__label {
      --swatch-input--size: 1.5rem !important;
    }
</style>

 Hope this can help you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now