Skip to content

Commit

Permalink
Updates header-default group tagname to div to match markup
Browse files Browse the repository at this point in the history
The site header is already printed inside of a <header class="site-header wp-block-template-part">,
so changing it to div seemed best.
  • Loading branch information
Cheffheid committed Aug 26, 2024
1 parent d47dcee commit 0941834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patterns/header-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$wds_site_info = has_custom_logo() ? '<!-- wp:site-logo {"width":150,"shouldSyncIcon":true,"style":{"layout":{"selfStretch":"fit","flexSize":null}}} /-->' : '<!-- wp:site-title /-->';
?>

<!-- wp:group {"tagName":"header","metadata":{"name":"Header"},"align":"full","style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"30px","bottom":"30px"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<!-- wp:group {"tagName":"div","metadata":{"name":"Header"},"align":"full","style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"30px","bottom":"30px"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-white-background-color has-background" id="top" style="margin-top:0px;padding-top:30px;padding-bottom:30px">

<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
Expand Down

0 comments on commit 0941834

Please sign in to comment.