In Avante, color variants can be displayed as Variant images or **Color swatches.**
If you want to find out how to display only media related to the chosen variant, you can learn more here.
In the theme editor, go to Theme settings → Variant selector, scroll to Color pills and enter the Option name in the Variant label field.
Sometimes, a color might not automatically display because its name doesn't match an HTML naming, or the displayed color doesn't match the product's shade.
In such cases, you can upload your own color:
Red
, ensure the image file is named red.png
. If you have an option labeled as Ocean blue
, the image should also have the ocean_blue.png
name. For these images, we recommend a resolution of 60x60px
and the smallest possible file size, preferably below 20kb
.