Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Is there a way to change all the Woocommerce shop buttons into that button which is in the purchase order processing, in the shopping cart – right down at the bottom?
See screenshot:
https://www.dropbox.com/s/nyqagmzexqun1ck/shopbutton.jpg?dl=0
Hi Gunter
Thanks for reaching out.
Please try the following at Appearance > Custom CSS:
/* WooCommerce */ .woocommerce a.button,.woocommerce .checkout-button,.woocommerce input.button,.woocommerce .button.alt,.woocommerce #page-wrapper .button { background:0; border-bottom:solid 1px #0077b4; border-left:solid 1px #007ebd; border-right:solid 1px #007ebd; border-top:solid 1px #0086c5; color:#fff; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bcff',endColorstr='#00aaeb',GradientType=0); text-shadow:none; } .woocommerce a.button:hover,.woocommerce .checkout-button:hover,.woocommerce input.button:hover,.woocommerce .button.alt:hover,.woocommerce #page-wrapper .button:hover { background:0!important; border-bottom:solid 1px #0081c3!important; border-left:solid 1px #08c!important; border-right:solid 1px #08c!important; border-top:solid 1px #0090d4!important; color:#fff; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0fc0ff',endColorstr='#00b5fa',GradientType=0)!important; }Hi Andrew,
thanks for this code, but it looks this like (screenshot):
https://www.dropbox.com/s/rr19mh08r5kazw6/shopbuttonclear.jpg?dl=0
Only a margin to see.
If possible, please, could we view the site. You could use the private reply checkbox below.
Thanks.
I turned it back to the normal Butons.
http://shop.lohntsich.de
Hi Andrew,
I changed the two lines
into the colors
and
Here the complete code:
/* WooCommerce Buttons ändern*/ .woocommerce a.button,.woocommerce .checkout-button,.woocommerce input.button,.woocommerce .button.alt,.woocommerce #page-wrapper .button { background:0; border-bottom:solid 1px #0077b4; border-left:solid 1px #007ebd; border-right:solid 1px #007ebd; border-top:solid 1px #0086c5; color:#1600A5; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bcff',endColorstr='#00aaeb',GradientType=0); text-shadow:none; } .woocommerce a.button:hover,.woocommerce .checkout-button:hover,.woocommerce input.button:hover,.woocommerce .button.alt:hover,.woocommerce #page-wrapper .button:hover { background:0!important; border-bottom:solid 1px #0081c3!important; border-left:solid 1px #08c!important; border-right:solid 1px #08c!important; border-top:solid 1px #0090d4!important; color:#5FB0EA; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0fc0ff',endColorstr='#00b5fa',GradientType=0)!important; }This works now, but the backgroundcolor of the checkout-button in the shoppingcart has a strange color. How to change this color? Further on the backgroundcolor of all buttons is white and I would like to have it in this
Thanks for the effort.
In your Custom CSS you’re saying:
.woocommerce a.button:hover,.woocommerce .checkout-button:hover,.woocommerce input.button:hover,.woocommerce .button.alt:hover,.woocommerce #page-wrapper .button:hover { background:0!important; /* Right here, this is where the white/no background is being set. Change this. */ border-bottom:solid 1px #0081c3!important; border-left:solid 1px #08c!important; border-right:solid 1px #08c!important; border-top:solid 1px #0090d4!important; color:#5FB0EA; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0fc0ff',endColorstr='#00b5fa',GradientType=0)!important; }Check out my comment on line one there to set a button background color.
The purple checkout button can be adjusted with:
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background-color: #a46497; }Hi Andrew,
Super fine, this works.
Thank you for your help and have a nice weekend :)
Gunter
Awesome :) Thanks. You too.