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

Commit 7ccc39b

Browse files
authored
Improve Just Arrived Full Hero pattern (#11406)
1 parent 333b630 commit 7ccc39b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patterns/just-arrived-full-hero.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
$pattern_image = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/plant-in-vase.jpg' );
1717
?>
1818

19-
<!-- wp:cover {"url":"<?php echo esc_url( $pattern_image ); ?>","dimRatio":30,"minHeight":739,"contentPosition":"center right","align":"full","style":{"spacing":{"margin":{"bottom":"80px"}}}} -->
20-
<div class="wp-block-cover alignfull has-custom-content-position is-position-center-right" style="margin-bottom:80px;min-height:739px">
19+
<!-- wp:cover {"url":"<?php echo esc_url( $pattern_image ); ?>","dimRatio":30,"minHeight":739,"contentPosition":"center right","align":"full","style":{"spacing":{"margin":{"bottom":"80px"},"padding":{"left":"0","right":"25%"}}}} -->
20+
<div class="wp-block-cover alignfull has-custom-content-position is-position-center-right" style="margin-bottom:80px;padding-right:25%;padding-left:0;min-height:739px">
2121
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-30 has-background-dim"></span>
2222
<img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( $pattern_image ); ?>" data-object-fit="cover" />
2323
<div class="wp-block-cover__inner-container">
24-
<!-- wp:group {"layout":{"type":"constrained"}} -->
24+
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"var:preset|spacing|80","left":"var:preset|spacing|80"},"blockGap":"16px"}}} {"layout":{"type":"constrained"}} -->
2525
<div class="wp-block-group">
2626
<!-- wp:heading {"anchor":"just-arrived"} -->
2727
<h2 class="wp-block-heading" id="just-arrived"><?php echo esc_html( $pattern_title ); ?></h2>

0 commit comments

Comments
 (0)