style header nav

This commit is contained in:
Aadil Ayub 2024-05-30 18:57:56 +05:00
parent c4b0512471
commit c042d48cec
2 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
<!-- wp:pattern {"slug":"header"} /-->
<!-- wp:pattern {"slug":"/header"} /-->

View File

@ -1,15 +1,15 @@
<?php
/**
* Title: Header
* Slug: header
* Title: header
* Slug: /header
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" 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)"><!-- wp:image {"width":"auto","height":"112px","sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full is-resized"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/logo.svg" alt="" class="" style="width:auto;height:112px" /></figure>
<!-- /wp:image -->
</div>
<!-- /wp:group -->
<figure class="wp-block-image aligncenter size-full is-resized"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/logo.svg" alt="" style="width:auto;height:112px"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->
<!-- wp:navigation {"textColor":"black","className":"main-header-nav","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"0"}},"fontSize":"medium","fontFamily":"instrument-sans"} /-->