How Can I Change Colors For Variant Picker Through Code?

NikoKatamadze
Tourist
9 0 4

Could you make it so that when variant is not picked it appears white and has a text color just like "Add to cart" button, but when you select it it becomes green and text color just stays the same. Screenshot 2023-11-13 155809.png

 

Nikoloz Katamadze
Replies 3 (3)
Uhrick
Shopify Partner
398 67 86

hello, Niko

Can you share the website url?

Shopify Developer
Hire me for theme customizations at ricardomsilvestre@outlook.com or Upwork
Was my answer helpful to you? Please like or mark as solution
Made4uo-Ribe
Shopify Partner
3984 912 1115

Hi @NikoKatamadze 

What happen to the previous post you have? The code I provide is not working? I checked it seems like working. Let me know, maybe I can help. Thanks!

 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


NikoKatamadze
Tourist
9 0 4

I created this before you answered 🙂 Thanks a lot for your answer.

Nikoloz Katamadze