[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> header-centered.php (source)

   1  <?php
   2  /**
   3   * Title: Centered header
   4   * Slug: twentytwentyfive/header-centered
   5   * Categories: header
   6   * Block Types: core/template-part/header
   7   * Description: Header with centered site title and navigation.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group">
  17      <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
  18      <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--30)">
  19          <!-- wp:site-title {"level":0,"textAlign":"center","align":"wide","fontSize":"x-large"} /-->
  20          <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
  21          <div class="wp-block-group alignwide">
  22              <!-- wp:navigation {"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","justifyContent":"center"}} /-->
  23          </div>
  24          <!-- /wp:group -->
  25      </div>
  26      <!-- /wp:group -->
  27  </div>
  28  <!-- /wp:group -->


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref