diff --git a/patterns/header-centered-search-pattern.php b/patterns/header-centered-search-pattern.php index c0364fa7626..459edfda5f2 100644 --- a/patterns/header-centered-search-pattern.php +++ b/patterns/header-centered-search-pattern.php @@ -7,8 +7,8 @@ */ ?> -<!-- wp:group {"align":"full","layout":{"type":"constrained"}} --> -<div class="wp-block-group alignfull"> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","layout":{"type":"constrained"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull"> <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"16px","left":"2%","top":"16px"},"margin":{"top":"0px","bottom":"0px"}}},"className":"sticky-header","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> <div class="wp-block-group alignfull sticky-header" style="margin-top:0px;margin-bottom:0px;padding-top:16px;padding-right:2%;padding-bottom:16px;padding-left:2%"> <!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> diff --git a/patterns/header-essential-dark.php b/patterns/header-essential-dark.php index acf625ff12b..789d534f5a9 100644 --- a/patterns/header-essential-dark.php +++ b/patterns/header-essential-dark.php @@ -6,8 +6,8 @@ * Block Types: core/template-part/header */ ?> -<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"32px","left":"2%","top":"32px"},"margin":{"top":"0px","bottom":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"black","textColor":"white","className":"sticky-header has-background-color","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> -<div class="wp-block-group alignfull sticky-header has-background-color has-white-color has-black-background-color has-text-color has-background has-link-color" style="margin-top:0px;margin-bottom:0px;padding-top:32px;padding-right:2%;padding-bottom:32px;padding-left:2%"> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"32px","left":"2%","top":"32px"},"margin":{"top":"0px","bottom":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"black","textColor":"white","className":"sticky-header has-background-color","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull sticky-header has-background-color has-white-color has-black-background-color has-text-color has-background has-link-color" style="margin-top:0px;margin-bottom:0px;padding-top:32px;padding-right:2%;padding-bottom:32px;padding-left:2%"> <!-- wp:group {"style":{"spacing":{"blockGap":"40px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> <div class="wp-block-group"> <!-- wp:site-logo {"shouldSyncIcon":false} /--> diff --git a/patterns/header-essential.php b/patterns/header-essential.php index 6e4b755b493..4a3b64682f2 100644 --- a/patterns/header-essential.php +++ b/patterns/header-essential.php @@ -6,8 +6,8 @@ * Block Types: core/template-part/header */ ?> -<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"32px","left":"2%","top":"32px"},"margin":{"top":"0px","bottom":"0px"}}},"className":"sticky-header","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> -<div class="wp-block-group alignfull sticky-header" style="margin-top:0px;margin-bottom:0px;padding-top:32px;padding-right:2%;padding-bottom:32px;padding-left:2%"> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"32px","left":"2%","top":"32px"},"margin":{"top":"0px","bottom":"0px"}}},"className":"sticky-header","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull sticky-header" style="margin-top:0px;margin-bottom:0px;padding-top:32px;padding-right:2%;padding-bottom:32px;padding-left:2%"> <!-- wp:group {"style":{"spacing":{"blockGap":"40px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> <div class="wp-block-group"> <!-- wp:site-logo {"shouldSyncIcon":false} /--> diff --git a/patterns/header-large-dark.php b/patterns/header-large-dark.php index 8ffacdcbff8..f160958e432 100644 --- a/patterns/header-large-dark.php +++ b/patterns/header-large-dark.php @@ -6,8 +6,8 @@ * Block Types: core/template-part/header */ ?> -<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0px","padding":{"top":"1rem","right":"1rem","bottom":"1rem","left":"1rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"black","textColor":"white","layout":{"type":"default"}} --> -<div class="wp-block-group alignfull has-background-color has-white-color has-black-background-color has-text-color has-background has-link-color" style="padding-top:1rem;padding-right:1rem;padding-bottom:1rem;padding-left:1rem"> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","style":{"spacing":{"blockGap":"0px","padding":{"top":"1rem","right":"1rem","bottom":"1rem","left":"1rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"black","textColor":"white","layout":{"type":"default"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull has-background-color has-white-color has-black-background-color has-text-color has-background has-link-color" style="padding-top:1rem;padding-right:1rem;padding-bottom:1rem;padding-left:1rem"> <!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"className":"has-small-font-size","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> <div class="wp-block-group has-small-font-size"> <!-- wp:search {"label":"","showLabel":false,"placeholder":"Search products…","buttonText":"Search","buttonUseIcon":true,"query":{"post_type":"product"}} /--> diff --git a/patterns/header-large.php b/patterns/header-large.php index a26e5eee298..f942cba1378 100644 --- a/patterns/header-large.php +++ b/patterns/header-large.php @@ -6,8 +6,8 @@ * Block Types: core/template-part/header */ ?> -<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0px","padding":{"top":"1rem","right":"1rem","bottom":"1rem","left":"1rem"}}},"className":"has-link-color","layout":{"type":"default"}} --> -<div class="wp-block-group alignfull has-link-color" style="padding-top:1rem;padding-right:1rem;padding-bottom:1rem;padding-left:1rem"> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","style":{"spacing":{"blockGap":"0px","padding":{"top":"1rem","right":"1rem","bottom":"1rem","left":"1rem"}}},"className":"has-link-color","layout":{"type":"default"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull has-link-color" style="padding-top:1rem;padding-right:1rem;padding-bottom:1rem;padding-left:1rem"> <!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"className":"has-small-font-size","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> <div class="wp-block-group has-small-font-size"> <!-- wp:search {"label":"","showLabel":false,"placeholder":"Search products…","buttonText":"Search","buttonUseIcon":true,"query":{"post_type":"product"}} /--> diff --git a/patterns/header-minimal.php b/patterns/header-minimal.php index 92ce1229f3e..4494b5eb2a1 100644 --- a/patterns/header-minimal.php +++ b/patterns/header-minimal.php @@ -6,19 +6,27 @@ * Block Types: core/template-part/header */ ?> -<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"16px","left":"2%","top":"16px"},"margin":{"top":"0px","bottom":"0px"}}},"className":"sticky-header","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> -<div class="wp-block-group alignfull sticky-header" style="margin-top:0px;margin-bottom:0px;padding-top:16px;padding-right:2%;padding-bottom:16px;padding-left:2%"><!-- wp:group {"style":{"spacing":{"blockGap":"40px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> - <div class="wp-block-group"><!-- wp:site-logo {"shouldSyncIcon":false,"className":"is-style-default"} /--> - <!-- wp:site-title /--></div> +<!-- wp:group {"className":"wc-blocks-header-pattern","align":"full","style":{"spacing":{"padding":{"right":"2%","bottom":"16px","left":"2%","top":"16px"},"margin":{"top":"0px","bottom":"0px"}}},"className":"sticky-header","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} --> +<div class="wc-blocks-header-pattern wp-block-group alignfull sticky-header" style="margin-top:0px;margin-bottom:0px;padding-top:16px;padding-right:2%;padding-bottom:16px;padding-left:2%"> + <!-- wp:group {"style":{"spacing":{"blockGap":"40px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> + <div class="wp-block-group"> + <!-- wp:site-logo {"shouldSyncIcon":false,"className":"is-style-default"} /--> + <!-- wp:site-title /--> + </div> <!-- /wp:group --> <!-- wp:group {"style":{"spacing":{"blockGap":"8px"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} --> - <div class="wp-block-group"><!-- wp:woocommerce/mini-cart {"hasHiddenPrice":true} /--> + <div class="wp-block-group"> + <!-- wp:woocommerce/mini-cart {"hasHiddenPrice":true} /--> <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> - <div class="wp-block-group"><!-- wp:navigation {"overlayMenu":"always","layout":{"type":"flex","justifyContent":"left"}} /--> + <div class="wp-block-group"> + <!-- wp:navigation {"overlayMenu":"always","layout":{"type":"flex","justifyContent":"left"}} /--> <!-- wp:separator {"className":"is-style-wide"} --> <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/> - <!-- /wp:separator --></div> - <!-- /wp:group --></div> - <!-- /wp:group --></div> + <!-- /wp:separator --> + </div> + <!-- /wp:group --> + </div> + <!-- /wp:group --> +</div> <!-- /wp:group -->