Skip to content

Commit

Permalink
Localise background images in header and header home template parts
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi committed Dec 11, 2024
1 parent cb98076 commit a4b525d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 2 additions & 6 deletions psychedeli/patterns/header-home.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@

<!-- wp:column {"verticalAlignment":"stretch","width":"20%"} -->
<div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:20%"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"},"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group" style="min-height:100%;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:navigation {"textColor":"contrast","overlayMenu":"always","icon":"menu","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /-->

<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
<p style="text-transform:uppercase"><?php esc_html_e('Menu', 'psychedeli');?></p>
<!-- /wp:paragraph --></div>
<div class="wp-block-group" style="min-height:100%;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:navigation {"textColor":"contrast","backgroundColor":"base","overlayMenu":"always","icon":"menu","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
Expand Down Expand Up @@ -97,4 +93,4 @@
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->
<!-- /wp:cover -->
6 changes: 1 addition & 5 deletions psychedeli/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@

<!-- wp:column {"verticalAlignment":"stretch","width":"20%"} -->
<div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:20%"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"},"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group" style="min-height:100%;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:navigation {"textColor":"contrast","overlayMenu":"always","icon":"menu","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /-->

<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
<p style="text-transform:uppercase"><?php esc_html_e('Menu', 'psychedeli');?></p>
<!-- /wp:paragraph --></div>
<div class="wp-block-group" style="min-height:100%;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:navigation {"textColor":"contrast","backgroundColor":"base","overlayMenu":"always","icon":"menu","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
Expand Down

0 comments on commit a4b525d

Please sign in to comment.