@@ -31,6 +30,5 @@ return array(
-
- ',
+ ',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php
index fdf41bb6ee..dbe8de9fe4 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Logo and navigation header with gray background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -15,6 +14,5 @@ return array(
-
',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php
index b8f4452ba0..f881b41d81 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Logo, navigation, and social links header with black background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -21,6 +20,5 @@ return array(
-
',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php
index cc4e092d48..7c26516fe6 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Small header with dark background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -28,6 +27,5 @@ return array(
-
- ',
+ ',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php
index e7375878b5..0e11c13607 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Text-only header with green background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -19,6 +18,5 @@ return array(
-
',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php
index b91a42b8ef..b03e528a48 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Text-only header with salmon background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -15,6 +14,5 @@ return array(
-
',
);
diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php
index b510ac99a8..4c2a4864f0 100644
--- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php
+++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php
@@ -6,8 +6,7 @@ return array(
'title' => __( 'Text-only header with tagline and black background', 'twentytwentytwo' ),
'categories' => array( 'header' ),
'blockTypes' => array( 'core/template-part/header' ),
- 'content' => '
-
+ 'content' => '
@@ -19,6 +18,5 @@ return array(
-
',
);
diff --git a/src/wp-content/themes/twentytwentytwo/parts/header-large-dark.html b/src/wp-content/themes/twentytwentytwo/parts/header-large-dark.html
index d5423f4291..a63b2d660f 100644
--- a/src/wp-content/themes/twentytwentytwo/parts/header-large-dark.html
+++ b/src/wp-content/themes/twentytwentytwo/parts/header-large-dark.html
@@ -1,9 +1,7 @@
-
-
-
+
diff --git a/src/wp-content/themes/twentytwentytwo/parts/header-small-dark.html b/src/wp-content/themes/twentytwentytwo/parts/header-small-dark.html
index e1f62f6937..58708579f5 100644
--- a/src/wp-content/themes/twentytwentytwo/parts/header-small-dark.html
+++ b/src/wp-content/themes/twentytwentytwo/parts/header-small-dark.html
@@ -1,9 +1,7 @@
-
-
-
+
diff --git a/src/wp-content/themes/twentytwentytwo/style.css b/src/wp-content/themes/twentytwentytwo/style.css
index 38005226b2..5f8d096a58 100644
--- a/src/wp-content/themes/twentytwentytwo/style.css
+++ b/src/wp-content/themes/twentytwentytwo/style.css
@@ -99,6 +99,7 @@ a:active {
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
+.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
@@ -107,6 +108,14 @@ body > .is-root-container,
}
.wp-site-blocks .alignfull,
+.wp-site-blocks > .wp-block-group.has-background,
+.wp-site-blocks > .wp-block-cover,
+.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
+.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
+body > .is-root-container > .wp-block-group.has-background,
+body > .is-root-container > .wp-block-cover,
+body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
+body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;