[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> gallery-full-screen-image.php (source)

   1  <?php
   2  /**
   3   * Title: Full screen image
   4   * Slug: twentytwentyfour/gallery-full-screen-image
   5   * Categories: gallery, portfolio
   6   * Description: A cover image section that covers the entire width.
   7   */
   8  ?>
   9  
  10  <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/art-gallery.webp","hasParallax":true,"dimRatio":0,"overlayColor":"base","minHeight":100,"minHeightUnit":"vh","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
  11  <div class="wp-block-cover alignfull is-light has-parallax" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh">
  12      <span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim">
  13      </span>
  14      <div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/art-gallery.webp)">
  15      </div>
  16      <div class="wp-block-cover__inner-container">
  17          <!-- wp:spacer {"height":"500px"} -->
  18          <div style="height:500px" aria-hidden="true" class="wp-block-spacer"></div>
  19          <!-- /wp:spacer -->
  20      </div>
  21  </div>
  22  <!-- /wp:cover -->


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