How can I change variant pill colors based on flavor using CSS?

Hello guys,

I have a supplement shop website. So i am selling sports nutrition and they have different kind of Flavors.

I want to change Variant Pill colors depends to Flavor. For Ex. Banana = Yellow, Strawberry = Pink etc…

How can i do it with css ? thanks a lot.

Best regards to all..

1 Like

Hi @FinalVerdict93

It will be hard to change it by CSS alone. You need several line of code customization for this especially that your option does not tell colors. Unfortunately, if you are not familiar with coding, I recommend hiring one

Hi @FinalVerdict93

This is David at SalesHunterThemes.

Thank you for your question.
Can you share which theme you are using for your store?

Please share your store URL, page URL and also password (if your store has one) so we can help you check and give you some advise.