[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Vertical header
   4   * Slug: twentytwentyfive/vertical-header
   5   * Categories: header
   6   * Block Types: core/template-part/vertical-header
   7   * Description: Vertical Header with site title and navigation
   8   * Viewport width: 300
   9   *
  10   * @package WordPress
  11   * @subpackage Twenty_Twenty_Five
  12   * @since Twenty Twenty-Five 1.0
  13   */
  14  
  15  ?>
  16  <!-- wp:group {"align":"wide","style":{"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} -->
  17  <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
  18      <!-- wp:group {"align":"wide","style":{"dimensions":{"minHeight":"100vh"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
  19      <div class="wp-block-group alignwide" style="min-height:100vh;">
  20          <!-- wp:group {"align":"full","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} -->
  21          <div class="wp-block-group alignfull">
  22              <!-- wp:navigation {"overlayBackgroundColor":"base","overlayTextColor":"contrast","overlayMenu":"always","style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|20"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","justifyContent":"right","orientation":"horizontal","flexWrap":"wrap"}} /-->
  23              <!-- wp:site-title {"level":0,"style":{"typography":{"writingMode":"vertical-rl"}},"fontSize":"large"} /-->
  24          </div>
  25          <!-- /wp:group -->
  26      </div>
  27      <!-- /wp:group -->
  28  </div>
  29  <!-- /wp:group -->


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref