CoreFiles by mySites.guru
header-centered.php28 lines, 1,058 bytes, from wordpress-6.7-beta2.zip
Raw History Compare with 6.7-beta1
md5
482ef419ad0747d7bd4a770db7dd9071
sha1
c889dec7398a628dc8be03d0a6a18fcf23ebb7e1
sha256
aecaa369f02d07c04bb870eb84614e5ff043504fa07f2e57845f80d5c6a28b08
<?php
/**
 * Title: Centered header
 * Slug: twentytwentyfive/header-centered
 * Categories: header
 * Block Types: core/template-part/header
 * Description: Header with centered site title and navigation.
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_Five
 * @since Twenty Twenty-Five 1.0
 */

?>
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
	<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--30)">
		<!-- wp:site-title {"level":0,"textAlign":"center","align":"wide","fontSize":"x-large"} /-->
		<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
		<div class="wp-block-group alignwide">
			<!-- wp:navigation {"layout":{"type":"flex","justifyContent":"center"}} /-->
		</div>
		<!-- /wp:group -->
	</div>
	<!-- /wp:group -->
</div>
<!-- /wp:group -->

The same content is in 2 releases, WordPress 6.7-beta1 to 6.7-beta2. See them all, or every version of this file.