Change colour of variant pills in Dawn

Hi there,

How would I go about changing the colour of the size variant pills on the product page in Dawn?

Thanks!!

1 Like

Hi @peterotoole,

.product-form__input input[type="radio"] + label {
  color: black !important;
  background-color: white !important;
  border-color: black !important;
}
.product-form__input input[type="radio"] + label:hover {
  color: black !important;
  background-color: red !important;
  border-color: black !important;
}

.product-form__input input[type="radio"]:checked + label {
  color: black !important;
  background-color: red !important;
  border-color: black !important;
}

Thanks!

Thanks for that but unfortunately it doesn’t work :frowning:

Thanks for that but it doesn’t work I’m afraid.

Hi @peterotoole,

1. Go to Online Store → Theme → Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

span.badge.price__badge-sold-out.color-scheme-3 {
    background-color:  !important;
}

Use this Code