ソースを参照

Alves: Add wc-wrapper-width variable.

Allan Cole 5 年 前
コミット
a74896be9a

+ 3 - 0
alves/sass/_config-child-theme-woocommerce.scss

@@ -4,6 +4,9 @@
 
 
 $config-woocommerce: (
 $config-woocommerce: (
 
 
+	/* Wrapper Width - accepts full, wide, or defuault */
+	"wrapper-width": wide,
+
 	/* Tables */
 	/* Tables */
 	"table": (
 	"table": (
 		/* Borders */
 		/* Borders */

+ 0 - 10
alves/sass/style-child-theme-woocommerce.scss

@@ -39,13 +39,3 @@
  * WooCommerce Styles
  * WooCommerce Styles
  */
  */
 @import "../../varia/sass/vendors/woocommerce/style";
 @import "../../varia/sass/vendors/woocommerce/style";
-
-/**
- * WC Wrap
- */
-
-body[class*="woocommerce"] #page .woocommerce,
-body[class*="woocommerce"] #page #woocommerce-wrapper,
-body[class*="woocommerce"] #page .woocommerce-Tabs-panel.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment) {
-	@extend %responsive-alignwide-nested;
-}

+ 3 - 4
alves/style-woocommerce-rtl.css

@@ -1279,6 +1279,9 @@ body[class*="woocommerce"] #page #reviews #comments .commentlist > li::before {
 /**
 /**
  * Structure
  * Structure
  */
  */
+/**
+ * WooCommerce Wrapper Width
+ */
 /**
 /**
  * Vertical Space - 32px
  * Vertical Space - 32px
  */
  */
@@ -2066,7 +2069,3 @@ body[class*="woocommerce"] #page .widget_price_filter .price_slider_wrapper .ui-
 		margin-left: auto;
 		margin-left: auto;
 	}
 	}
 }
 }
-
-/**
- * WC Wrap
- */

+ 3 - 4
alves/style-woocommerce.css

@@ -1279,6 +1279,9 @@ body[class*="woocommerce"] #page #reviews #comments .commentlist > li::before {
 /**
 /**
  * Structure
  * Structure
  */
  */
+/**
+ * WooCommerce Wrapper Width
+ */
 /**
 /**
  * Vertical Space - 32px
  * Vertical Space - 32px
  */
  */
@@ -2066,7 +2069,3 @@ body[class*="woocommerce"] #page .widget_price_filter .price_slider_wrapper .ui-
 		margin-right: auto;
 		margin-right: auto;
 	}
 	}
 }
 }
-
-/**
- * WC Wrap
- */