Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Store Customization > Enhance the Hero Product Split pattern (#11505)
Browse files Browse the repository at this point in the history
* Update the bottom margin for the Hero Product Split and the heading from h3 to h2.

* Update heading comment
  • Loading branch information
nefeline authored Oct 31, 2023
1 parent 715e4f4 commit 679db45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions patterns/hero-product-split.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
$hero_title = $content['titles'][0]['default'] ?? '';
?>

<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaType":"image","mediaSizeSlug":"full","imageFill":false} -->
<div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile">
<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaType":"image","mediaSizeSlug":"full","imageFill":false,"style":{"spacing":{"margin":{"bottom":"80px"}}}} -->
<div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile" style="margin-bottom:80px">
<div class="wp-block-media-text__content">
<!-- wp:heading -->
<h2 class="wp-block-heading"><?php echo esc_html( $hero_title ); ?></h2>
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading"><?php echo esc_html( $hero_title ); ?></h3>
<!-- /wp:heading -->

<!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
Expand Down

0 comments on commit 679db45

Please sign in to comment.