-
Notifications
You must be signed in to change notification settings - Fork 6
Removing Default Styles
Instinct Entertainment edited this page Jun 6, 2013
·
2 revisions
The new theme engine provide some elementary styles for basic components.
If you want your theme to have total control of the store pages, you can remove the default styles by adding this line in your theme's functions.php
file:
add_action( 'wp_enqueue_scripts', 'my_theme_remove_wpec_styles' );
function my_theme_remove_wpec_styles() {
wp_dequeue_style( 'wpsc-common' );
}
An alternate way to do this, which is a bit easier, is go to wp-admin/options.php
, find the option wpsc_default_style
and switch it to 0. We will be providing a UI in the Store > Settings so that it will be much easier in the future. But for now this will do.