Home>Support>Vantage Theme & WooCommerce: I’m trying to change the color of the ‘Add To Cart’ button

Vantage Theme & WooCommerce: I’m trying to change the color of the ‘Add To Cart’ button

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].

I have tried several different codes to get this done, and none of them are working. I would like to change the color of the “Add to Cart” button to black and the text in the button to white.

Any help would be greatly appreciated.

Here is the site I’m working on:
http://puravidactive.com/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Pierce

    Thanks for reaching out.

    Please, try the following at Appearance > Custom CSS to convert the final buttons that are still grey:

    /* Remove Vantage WooCommerce Button Styling */
    
    .woocommerce #page-wrapper .button, input[type="submit"] .wpcf7-submit {
    background: #000; /* Set this to your button background color */	
      border-top: initial;
      border-left: initial;
      border-right: initial;
      border-bottom: initial;
    color: #fff !important;
    cursor: pointer
      filter: initial;
      -webkit-border-radius: initial;
      -moz-border-radius: initial;
      border-radius: initial;
      -webkit-box-shadow: initial;
      -moz-box-shadow: initial;
      box-shadow: initial;
      width: initial;
      text-decoration: initial;
      /* Improves usability and consistency of cursor style between image-type 'input' and others */
      cursor: initial;
      /* Corrects inability to style clickable 'input' types in iOS */
      -webkit-appearance: none;
      line-height: initial;
      text-shadow: initial;
    }
    
    .woocommerce .button.alt,
    .woocommerce .button.alt:hover {
      background: none !important;
      background-color: #9d6fce !important; /* Set this to your button background color */
      border: none !important;
    }
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More