This topic has 18 replies, 7 voices, and was last updated 9 years, 2 months ago ago by Jack Richardson
Hi,
How do we change the colour of “ADD-to-Cart” Button and social share buttons on a product page.
Thanks!
Hello,
You can use the following code in Global Custom CSS (Theme Options->Custom CSS).
.product-information .cart button[type="submit"]{
background-color: red;
}
.menu-social-icons i{
background-color: red;
}
Regards,
Robert Hall.
And where do i change the textcolor on the “add to cart” button ?
Hello,
Please use this css code:
.product-information .cart button[type="submit"]{
color: red;
}
Best regards,
Jack Richardson.
it does not seem to work ?
Its like it still is the same ?
It only works on “hover
Hello,
Please try this code instead:
.product-information .cart button[type="submit"] {
color: white !important;
}
Best regards,
Jack Richardson.
I change coupon and checkout buttons and add cart text colour with custom css code. Now I need to change add cart button hover and frame colour. But codes what I found from this topics they just dont works on my site.
Hello @tasakaal,
Please use this css code:
a.btn.border-grey.product_type_simple:hover {
color: white !important;
background-color: black;
border-color: blue;
}
Write your color values.
Best regards,
Jack Richardson.
HI
Thank You, what about the black hover? Can I change this also?
Regards,
P
Hi, I need to start with blue bold text and the blue border.
Hello,
Please clarify what you mean with “black hover”.
Do you want to set blue bold text and the blue border when hovering “Add to Cart” button?
Regards,
Eva Kemp.
Hi, Black hover is not importat. We need button with white backround, blue text and blue border. when its active then backround should be blue and text white. Is it possible?
Hello @tasakaal,
Please use this css code:
a.btn.border-grey.product_type_simple {
color: blue !important;
background-color: white;
border-color: blue;
}
Best regards,
Jack Richardson.
HI,
With add cart buttons now we ok. How we can change button product filtering swiching hidden sidebar.
Same story with button place order on checkout page and single product page add cart button.
Regards,
Peeter
HI,
One button more 🙂 Return to shop (when cart is empty).
Regards,
Peeter
Hello
You may try this code:
.woocommerce-cart .empty-cart-block .btn {background:red!important;}
Regards
Brian Johnson
HI,
Can I change these buttons and how?
Regards,
Peeter
Hello,
Please use this code:
.empty-cart-block .btn.filled.active {
color: blue !important;
background-color: white;
border-color: blue;
}
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up