diff --git a/assets/css/twenty-twenty-one.scss b/assets/css/twenty-twenty-one.scss index b1ffd5b9a7f..75cef33eb73 100644 --- a/assets/css/twenty-twenty-one.scss +++ b/assets/css/twenty-twenty-one.scss @@ -2609,13 +2609,15 @@ a.reset_variations { } } -.woocommerce { - +.alignwide .woocommerce { & > * { max-width: var( --responsive--alignwide-width ); display: block; margin: var(--global--spacing-vertical) auto; } +} + +.woocommerce { .woocommerce-notices-wrapper { diff --git a/includes/class-woocommerce.php b/includes/class-woocommerce.php index a4059876149..c5313fdbd63 100644 --- a/includes/class-woocommerce.php +++ b/includes/class-woocommerce.php @@ -530,6 +530,9 @@ final class WooCommerce { case 'twentytwenty': include_once WC_ABSPATH . 'includes/theme-support/class-wc-twenty-twenty.php'; break; + case 'twentytwentyone': + include_once WC_ABSPATH . 'includes/theme-support/class-wc-twenty-twenty-one.php'; + break; } } }