Color swatch shape

Solved

Color swatch shape

SaucyPeach
Excursionist
33 1 11

Hi, I added a color metafield but the color swatches are showing as rectangles when they should be circles.  I have tried changing in the theme settings but it's not working.

Any help is appreciated.

 

 saucypeach.com

P/W: Password

 

Thanks.

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8330 1996 2454

This is an accepted solution.

Hi @SaucyPeach 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.filter.filter--color .color-filter {
    border-radius: 50%;
}

 

And Save. 

Result:

Made4uoRibe_0-1726435499488.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

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
8330 1996 2454

This is an accepted solution.

Hi @SaucyPeach 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.filter.filter--color .color-filter {
    border-radius: 50%;
}

 

And Save. 

Result:

Made4uoRibe_0-1726435499488.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.