Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Update Title and Button Header pattern #97

Merged
merged 1 commit into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function twentytwentytwo_register_block_patterns() {
'header-default',
'header-with-tagline',
'header-text-only-with-stacked-tagline',
'header-title-and-button',
'header-text-only',
'header-text-only-with-tagline',
'header-text-only-all-caps-with-tagline',
Expand All @@ -50,7 +51,6 @@ function twentytwentytwo_register_block_patterns() {
'header-centered-logo',
'header-centered-logo-in-navigation',
'header-centered-title-navigation-social',
'header-title-and-button',
'query-default',
'query-text-grid',
'query-simple-blog',
Expand Down
2 changes: 1 addition & 1 deletion inc/patterns/header-title-and-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /-->

<!-- wp:navigation {"itemsJustification":"right","isResponsive":true} -->
<!-- wp:navigation {"itemsJustification":"right","overlayMenu":"always"} -->
<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
<!-- /wp:navigation --></div>
<!-- /wp:group -->',
Expand Down