Why can't I see the text on my variant picker buttons?

I have inserted a size variant picker on my page however I cannot see the text. The pills are there - I think the text may be the same colour as the pills, and therefore not showing. I can’t figure out how to change the colour of the pills or the text. It doesn’t change when I edit theme colour schemes, etc. I want the pills to be white with a black outline and black text.

hi, @Em14

Please send page Url

Hi @Em14

Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below after tag


Unfortunately this didn’t change anything. I must not be inserting the code correctly :confused:

Could you share your store URL and password protected so I can check?

I just attempted this again. It changed the text inside the first pill white so I can see it! But the others are still not showing up.

Try to update code to this


That is perfect! Thank you so much :slightly_smiling_face:

1 Like

Happy I could help :blush:

1 Like