summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php')
-rw-r--r--wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php
new file mode 100644
index 0000000..b10ed5b
--- /dev/null
+++ b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Header with centered logo and black background
+ */
+return array(
+ 'title' => __( 'Header with centered logo and background', 'twentytwentytwo' ),
+ 'categories' => array( 'header' ),
+ 'blockTypes' => array( 'core/template-part/header' ),
+ 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--small, 1.25rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} -->
+ <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
+ <!-- wp:navigation-link {"isTopLevelLink":true} /-->
+
+ <!-- wp:navigation-link {"isTopLevelLink":true} /-->
+
+ <!-- wp:site-logo {"width":90} /-->
+
+ <!-- wp:navigation-link {"isTopLevelLink":true} /-->
+
+ <!-- wp:navigation-link {"isTopLevelLink":true} /-->
+ <!-- /wp:navigation --></div>
+ <!-- /wp:group -->',
+);