mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-13 07:10:00 +01:00
This ticket replaces the issue not resolved in time before the release of the theme. This now takes the feedback of translators and iterates on that. Props poena, desrosj, hameem1102, burakkaptan, jorbin, prathamesh24, audrasjb. Fixes #62482. Built from https://develop.svn.wordpress.org/trunk@59891 git-svn-id: http://core.svn.wordpress.org/trunk@59233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Title: Centered site header
|
|
* Slug: twentytwentyfive/header-centered
|
|
* Categories: header
|
|
* Block Types: core/template-part/header
|
|
* Description: Site 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 {"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","justifyContent":"center"}} /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|