Deprecated since WooCommerce 2.3
CSS Ruby
Switch branches/tags
Nothing to show
Latest commit c3011cd Feb 25, 2016 @claudiosanches Update README.md
Permalink
Failed to load latest commit information.
css fixed css folder Nov 19, 2012
sass updated the scripts Nov 10, 2013
.editorconfig added editorconfig file Mar 12, 2014
.gitignore added gitignore Nov 10, 2013
README.md Update README.md Feb 25, 2016
config.rb fixed compass output Nov 19, 2012

README.md

WooCommerce Sass

Deprecated since WooCommerce 2.3!

WooCommerce Styles with Sass.

In this project only convert the styles of front-end WooCommerce for Sass.

There was no modified styles of the original file in LESS.

Requirements

  • Sass
  • WooCommerce 2.0.19 or later

Installation

Add the files in the folder of your theme keeping this structure.

Run the following command to generate the css file:

compass compile

Paste in your functions.php:

function cs_woocommerce_sass() {
    wp_enqueue_style( 'woocommerce-sass', get_template_directory_uri() . '/woocommerce-sass/css/woocommerce.css', array(), false, 'all' );
}

add_action( 'wp_enqueue_scripts', 'cs_woocommerce_sass' );

Now in the WooCommerce settings just deactivate the CSS.

License

WooCommerce Sass is released under GPLv2.