header-traditional-background.php 1.3 KB

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Title: Traditional header with color background
  4. * Slug: stewart/header-traditional-background
  5. * Categories: header
  6. * Block Types: core/template-part/header
  7. */
  8. ?>
  9. <!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
  10. <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var(--wp--custom--margin--horizontal, 30px)","bottom":"40px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  11. <div class="wp-block-group alignwide" style="padding-top:var(--wp--custom--margin--horizontal, 30px);padding-bottom:40px"><!-- wp:group {"layout":{"type":"flex"}} -->
  12. <div class="wp-block-group"><!-- wp:site-logo {"width":64} /-->
  13. <!-- wp:site-title /--></div>
  14. <!-- /wp:group -->
  15. <!-- wp:navigation {"__unstableLocation":"primary","layout":{"type":"flex","orientation":"horizontal"}} /--></div>
  16. <!-- /wp:group -->
  17. <!-- wp:spacer {"height":100} -->
  18. <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  19. <!-- /wp:spacer --></div>
  20. <!-- /wp:group -->