Shopify themes, liquid, logos, and UX
How can I make the variant picker colour the same as my "Add to Cart" button colour? The colour is 1A374E
Solved! Go to the solution
This is an accepted solution.
Hey @mayatranquila
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.is-active .dropdown__item-button {
background: #1A374E !important;
}
.dropdown__item-button:hover:not([disabled]) {
background: #1A374E !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @mayatranquila
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.is-active .dropdown__item-button {
background: #1A374E !important;
}
.dropdown__item-button:hover:not([disabled]) {
background: #1A374E !important;
}
</style>
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 </head> tag
<style>
.product-selector__buttons .dropdown__item-button:not([disabled]):hover {
background: #1A374E !important;
}
</style>
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!
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025