How can I make the variant picker colour the same as my “Add to Cart” button colour? The colour is 1A374E
Topic summary
A user wants to customize their variant picker hover color to match their ‘Add to Cart’ button color (#1A374E).
Solutions Provided:
Two community members offered similar CSS-based solutions:
- Method: Add custom CSS code to the
theme.liquidfile - Location: Insert code above the
</body>tag (one response suggests before</head>) - Implementation: Access Online Store → Theme → Edit Code → Find
theme.liquid
Both responses include code snippets, though the actual CSS code appears corrupted or reversed in the conversation text, making it unreadable. Screenshots were shared showing the expected results.
Status: Solutions provided but not yet confirmed as implemented. One additional user requested the store URL, possibly to offer further assistance.
Hey @mayatranquila
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the tag
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Hello,
Please share “Store URL”
Thanks!


