how to make the variant option title black instead of grey

Topic summary

A merchant wants product option labels (variant text) on the product page to appear in black instead of grey. This is a visual styling change in a Shopify theme.

A responder suggests editing the theme’s code. Steps: Shopify Admin β†’ Online Store β†’ Theme β†’ Edit code β†’ open theme.liquid β†’ add custom code above the tag.

The exact code snippet is not visible in the post excerpt. An accompanying image is referenced to show the outcome, implying the text turns black.

No confirmation from the original poster that the solution worked. The thread appears open and unresolved based on the provided content.

Key terms: variant text = the product option titles shown on the product page. Likely requires a small CSS rule added to the theme head to change the text color to black.

Summarized with AI on December 22. AI used: gpt-5.

does some one has a solution to make the grey variant text on product page black?

1 Like

Hi @michelle012 ,

Step 1: Go to Shopify Admin β†’ Online Store ->Theme β†’ Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes: