This topic has 9 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Stan Russell
How can I change the color of the Buy button (it is black by default and changes to the main colour on hover)?
Hello,
Could you please clarify with more details what exactly button you want to change and show us screenshots? Do you mean ‘add to cart’?
Also please provide us with link to the page.
Regards,
Robert Hall.
Please use the following code in Theme Options->Custom CSS->Global Custom CSS.
.slide-item .progress-button {
background: #000;
color: #fff;
}
.slide-item .progress-button:hover{
background: #fff;
color: #000;
}
Regards,
Robert Hall.
Hello belusad,
for single product page ‘add to cart’ button
please add following css code to your custom.css file:
.single_add_to_cart_button:hover{
background-color:#252525
}
Regards,
Stan Russell.
For the single product page, do you mean the style.css file or the default.custom.css file?
Also, how do I change the button on the main shop/categories page. Theme Options->Custom CSS->Global Custom CSS only changed it on the index page.
Thanks a lot!
Hello,
you are right. You may add css code to Theme Options->Custom CSS->Global Custom CSS too
Please try following code:
.products-grid .etheme_add_to_cart_button:hover {
color:red;
background-color:green;
}
You may use any color name you want in this code.
Regards,
Stan Russell.
Thanks a lot! Can you help me with these buttons, too? I couldn’t really detect them correctly in the code, sorry.
Hello,
try this code:
#order_review .place-order .button{
color:red;
background-color:red
}
#order_review .place-order .button:hover{
color:red;
background-color:green
}
.widget_shopping_cart_content .btn.filled{
color:red;
}
.widget_shopping_cart_content .btn.filled:hover{
color:green
}
.checkout_coupon .btn.big{
color:red
}
.checkout_coupon .btn.big:hover{
color:green
}
Regards,
Stan Russell.
You must be logged in to reply to this topic.Log in/Sign up