How can I add a border to all color swatches on my product pages?

Hi @zieglj

Here a thing, when you selected a color there is a border color black. What I did I colored it red. and the none selected color black border. You can change the color you like.

  • 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:
:checked+.color-swatch, .color-swatch.is-selected {
    border-color: red;
}
.rounded-full {
    border: 1px solid black;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!