Title: Woocommerce button edit
Last modified: August 21, 2016

---

# Woocommerce button edit

 *  [Shamick](https://wordpress.org/support/users/shamick/)
 * (@shamick)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/)
 * Hi,
 * I’m having trouble with the “add to cart” buttons on woocommerce, currently they
   are purple which I want but I need the color of the font to change to white.
 * I have this code at the moment
 *     ```
       a.button,
       .button.alt,
       .button,
       input.button,
       button.button,
       a.comment-reply-link,
       #commentform #submit,
       #btn-cart a,
       #btn-cart a span.btn-cart-inner {
       	background:#440472!important;
       	color:#FFFFFF!important;
       }
       a.button:hover,
       .button.alt:hover,
       .button:hover,
       input.button:hover,
       button.button:hover,
       a.comment-reply-link:hover,
       #commentform #submit:hover,
       #btn-cart a:hover,
       #btn-cart a span.btn-cart-inner:hover {
       	background:#440472;
       	color:#FFFFFF;
       }
       ```
   
 * I have this in Custom CSS but the color of the text is still coming up black 
   and not white.
 * I am using felicity as the theme.
 * Many Thanks,
 * Matt

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Nikhil Chavan](https://wordpress.org/support/users/nikschavan/)
 * (@nikschavan)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160722)
 * you’ll have to give us the link to that page where you need changes, so that 
   we can look into it.
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160734)
 * Difficult to say out of context, you should always include a URL to see the CSS
   rules in action. One thing I note, there doesn’t appear to be a space in between#
   FFFFFF and !important.
 * It’s worth pointing out that using !important is the last gasp step to changing
   CSS. Google !important CSS to see what I mean.
 *  Thread Starter [Shamick](https://wordpress.org/support/users/shamick/)
 * (@shamick)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160802)
 * Sorry guys, this is the page I am talking about.
 * [http://www.thechocolateball.org/shop/](http://www.thechocolateball.org/shop/)
 *  Thread Starter [Shamick](https://wordpress.org/support/users/shamick/)
 * (@shamick)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160806)
 * also having major problems with the product boxes being to big, tried to reduce
   them but they are massive.
 * [http://www.thechocolateball.org/product/event-tickets/](http://www.thechocolateball.org/product/event-tickets/)
 *  Thread Starter [Shamick](https://wordpress.org/support/users/shamick/)
 * (@shamick)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160807)
 * Scrap everything I have just sorted it out… PHEW!!! Thanks anyway

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Woocommerce button edit’ is closed to new replies.

## Tags

 * [add to cart](https://wordpress.org/support/topic-tag/add-to-cart/)
 * [buttons](https://wordpress.org/support/topic-tag/buttons/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Shamick](https://wordpress.org/support/users/shamick/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-button-edit/#post-5160807)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
