Shopify themes, liquid, logos, and UX
Hello,
Could someone please help me, My Color/variant button is solid black on all my products as well as my Quantity selector button. If I could at least get the writing white I would be happy, but the options to change but background and text color would be great! I have tried a few codes with no change.
Website URL is http://www.backwoodsgeek.com
Solved! Go to the solution
This is an accepted solution.
Try this one.
select#Option-template--21412270375212__main-0 {
background: white;
border: 1px solid black;
}
select#Option-template--21412270375212__main-0:hover {
background: black;
}
select#Option-template--21412270375212__main-0:hover {
color: white;
}
.select:hover {
color: white;
}
.quantity:before {
background: white;
border: 1px solid black;
}
quantity-input.quantity * {
color: black;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Can you replace the code with this one. I add the size button. Thanks!
select#Option-template--21412270375212__main-0, select#Option-template--21412270375212__main-1 {
background: white;
border: 1px solid black;
}
select#Option-template--21412270375212__main-0:hover, select#Option-template--21412270375212__main-1:hover {
background: black;
}
select#Option-template--21412270375212__main-0:hover, select#Option-template--21412270375212__main-1:hover {
color: white;
}
.select:hover {
color: white;
}
.quantity:before {
background: white;
border: 1px solid black;
}
quantity-input.quantity * {
color: black;
}
And Save.
Forgot to add this screenshot...
This is an accepted solution.
Can you replace the code with this one. I add the size button. Thanks!
select#Option-template--21412270375212__main-0, select#Option-template--21412270375212__main-1 {
background: white;
border: 1px solid black;
}
select#Option-template--21412270375212__main-0:hover, select#Option-template--21412270375212__main-1:hover {
background: black;
}
select#Option-template--21412270375212__main-0:hover, select#Option-template--21412270375212__main-1:hover {
color: white;
}
.select:hover {
color: white;
}
.quantity:before {
background: white;
border: 1px solid black;
}
quantity-input.quantity * {
color: black;
}
And Save.
You are a LIFESAVER! Thank you very much!
This is an accepted solution.
Try this one.
select#Option-template--21412270375212__main-0 {
background: white;
border: 1px solid black;
}
select#Option-template--21412270375212__main-0:hover {
background: black;
}
select#Option-template--21412270375212__main-0:hover {
color: white;
}
.select:hover {
color: white;
}
.quantity:before {
background: white;
border: 1px solid black;
}
quantity-input.quantity * {
color: black;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
That worked perfectly, except I didn't notice the Size option, so it is still Black.
FINALLY found this answer!!! I have been working for HOURS to get my Quantity buttons fixed... I wanted black with white text so I just swapped out the colors in your code and IT WORKED!!!
You will never know how appreciative I am! This was driving me CRAZY!
Thanks!
Thanks good to hear! Welcome.
User | RANK |
---|---|
201 | |
173 | |
61 | |
52 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023