Home › Forums › Support › How to Change WooCommerce Buy Button Background & Text Color? This topic has 7 replies, 3 voices, and was last updated 4 years, 2 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts February 1, 2022 at 11:03 pm #2102235 Georgi Hello, First I searched in the customizer but I didn’t find such options. I searched the forum also but I didn’t find a thread about this. How can the background and text of the Buy Button/Select Options/Read More be changed? https://prnt.sc/26n8n1c Thank you in advance! February 1, 2022 at 11:12 pm #2102241 ElvinStaff Customer Support Hi Georgi, All woocommerce related buttons use this CSS: .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: #fff; background-color: #55555e; } You can use this CSS to override the default. Change the color values to your preference. 😀 February 2, 2022 at 3:21 am #2102456 Georgi Thanks man, it works great! I also wanted to customize the add to cart button and found the following CSS in the forum: .woocommerce a.button.add_to_cart_button { padding: 5px 10px; border-radius: 5px; } It does a really great job but it’s not affecting the button for out of stock products https://prnt.sc/26ncdab and the button on the product page itself https://prnt.sc/26ncdsv Can the CSS be adjusted to affect these two things as well? February 2, 2022 at 4:32 am #2102530 DavidStaff Customer Support Hi there, can you share a link to your site where i can see the sales products. February 2, 2022 at 5:05 am #2102569 Georgi Of course. Link in the private area. There is no cache now so it might be a bit slower. February 2, 2022 at 5:33 am #2102602 DavidStaff Customer Support OK so replace both your CSS snippets with: .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: #fff; background-color: #55555e; padding: 5px 10px; border-radius: 5px; } February 2, 2022 at 6:47 am #2102680 Georgi Hehe, awesome! Thank you, David! 🙂 February 2, 2022 at 6:57 am #2102689 DavidStaff Customer Support Glad we could be of help Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In