How to change action buttons color such as add to cart?

May 2014 WordPress Theme
GK User
Tue Apr 18, 2017 5:23 pm
Hay i have tried a few variations of custom css but cannot change the color of the cart type buttons such as add to cart, view basket, checkout and so on i have added a image of what i mean. i would like them just to be red all the time and right now it is only red on hover. Thanks.
User avatar
Senior Boarder

Joshua M
Wed Apr 19, 2017 8:27 am
Hi,

Try to add the following custom css code:
Code: Select all
.button.wc-forward,
.button.checkout {
   background: #e81f00;
   color: #fff!important;
}


or use only .button css selector if you want to change the color of ALL buttons.
User avatar
Moderator

GK User
Wed Apr 19, 2017 2:52 pm
that code did not work and what do you mean only use css selector?
User avatar
Senior Boarder

GK User
Wed Apr 19, 2017 5:27 pm
Here are a list of those buttons I was talking about last night that all need to be permanently red

Cart Page:
Apply Coupon
Update Cart
Proceed to Checkout (your code worked for this one)

Checkout Pages:
Place Order
User avatar
Senior Boarder

Joshua M
Thu Apr 20, 2017 12:06 pm
You've added a screenshot of top cart with grey buttons (view cart, checkout), so I gave you a code for these buttons. If you want to change all buttons, use this css code:
Code: Select all
.button {
   background: #e81f00;
   color: #fff!important;
}
User avatar
Moderator

GK User
Fri Apr 21, 2017 12:41 pm
Thanks josh your a star bud ;)
User avatar
Senior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.