From: Laury GvR Date: Mon, 27 Feb 2017 14:16:16 +0000 (-0500) Subject: Declare WooC support, shop template changed X-Git-Tag: v1.0.0^2~27 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=84ef6e4d76b1192b20ae6298a72085c23d01688c;p=WP-Themes%2Fturkeyville.git Declare WooC support, shop template changed WooCommerce Support declared. Shop template changed to accommodate title section/image and row width, and the orange page-wide border. --- diff --git a/css/app.css b/css/app.css index 112916b..d122b91 100644 --- a/css/app.css +++ b/css/app.css @@ -6975,7 +6975,7 @@ body #slideshow .slideshow_description_box { /* WooCommerce */ #woo-quick-display { background-color: white; - border-radius: 3px; + border-radius: 5px; border: 1px solid lightgrey; padding: 5px; font-size: 16px; diff --git a/functions.php b/functions.php index 04a3456..8ee2c65 100644 --- a/functions.php +++ b/functions.php @@ -152,4 +152,9 @@ function is_post_type($type){ add_action('thematic_searchloop', 'mytheme_search_loop'); // End of the Contextual/Highlight Search functions + +add_action( 'after_setup_theme', 'woocommerce_support' ); +function woocommerce_support() { + add_theme_support( 'woocommerce' ); +} ?> diff --git a/scss/plugins/_woocommerce.scss b/scss/plugins/_woocommerce.scss index c86c13b..5633ebb 100644 --- a/scss/plugins/_woocommerce.scss +++ b/scss/plugins/_woocommerce.scss @@ -2,7 +2,7 @@ /* WooCommerce */ #woo-quick-display { background-color: white; - border-radius: 3px; + border-radius: 5px; border: 1px solid lightgrey; padding: 5px; font-size: 16px; diff --git a/woocommerce.php b/woocommerce.php index 21a01b6..4305413 100644 --- a/woocommerce.php +++ b/woocommerce.php @@ -20,106 +20,59 @@ include "sections/header.php"; include "sections/off-canvas.php"; ?> -
-
-
- -
-
-
- - +
+
+

Shop

+
+
+
+
+
-
-

cart->get_cart_total(); ?> - for - cart->cart_contents_count, - 'woothemes'), $woocommerce->cart->cart_contents_count);?> -

-
-
- log out'; - } - elseif (!is_user_logged_in()) { - echo ''; - } - ?> - checkout +
+
+ + +
+
+

cart->get_cart_total(); ?> + for + cart->cart_contents_count, + 'woothemes'), $woocommerce->cart->cart_contents_count);?> +

+
+
+ log out'; + } + elseif (!is_user_logged_in()) { + echo ''; + } + ?> + checkout +
-
- -
- - - - - -
- -
- - -

- - - - - - - - - - - - woocommerce_product_loop_start( false ), 'after' => woocommerce_product_loop_end( false ) ) ) ) : ?> - - + +
+ + + +
- -
- +
+ + ?> + +

+ + + + + + - + + + + woocommerce_product_loop_start( false ), 'after' => woocommerce_product_loop_end( false ) ) ) ) : ?> + + -
- - -
-
- -
+
+ +
+ + + + + +
+ + +
+
+ +
+