dimanche 26 juin 2016

WooCommerce: Add to cart shortcode style

I implemented the add_to_cart shortcode of WooCommerce, but default style appears and I don't succeed to modify it.

Shortcode : [add_to_cart id="99"]

Default style defined by woocommerce

array(
  'id' => '99',
  'style' => 'border:4px solid #ccc; padding: 12px;',
  'sku' => 'FOO')

How can I modify this default styles?

(Modifying the main style.css doesn't work)

Screenshot of Shortcode [product id="99"] vs [add_to_cart id="99"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire