Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Use the <header> element for the checkout header
Browse files Browse the repository at this point in the history
  • Loading branch information
wavvves authored and senadir committed Oct 17, 2023
1 parent d113815 commit be7840a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions templates/parts/checkout-header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"tagName":"header","area":"header","metadata":{"name":"Checkout Header"},"layout":{"type":"constrained"}} -->
<header class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
<!-- wp:site-title {"level":0} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</header>
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion templates/templates/blockified/page-checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<!-- wp:post-content {"align":"wide"} /-->
<!-- /wp:woocommerce/page-content-wrapper -->
</div>
<!-- /wp:group -->
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion templates/templates/page-checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<!-- wp:post-content {"align":"wide"} /-->
<!-- /wp:woocommerce/page-content-wrapper -->
</div>
<!-- /wp:group -->
<!-- /wp:group -->

0 comments on commit be7840a

Please sign in to comment.