Color swatches

Setting up color swatches

You can add color swatches to your product page, collection pages, and home page across the theme using these settings that you see in the below screenshot: From your Shopify admin, go to Theme settings > Cards > Variants then click on + icon button on the product card.

Working of swatches

Once you enable the color swatch settings, Cello will look for any variant with the name "Color."

The theme will look at the variant names taken into use; in the case of Pink, it will look for either an HTML color name with the exact same variant name or a .png file in Content > Files.

Swatch files name

The Pink swatch needs to be of pink.png name (capitals become lowercase and space will remove).

You must use .png as the .jpg files will not display.

'Files' option in the Shopify admin

  • From your Shopify admin, go to Content.

  • Click Files.

  • In Files, click Upload files to upload your .png swatch files.

Last updated