Pattern: Update text to be vertically aligned like image (#49791)
* Update text column to be vertically aligned * Changelog
This commit is contained in:
parent
859fd9f001
commit
c29d70f3c3
|
@ -0,0 +1,5 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: tweak
|
||||||
|
Comment: Title is self explanatory
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ $description = $content['descriptions'][0]['default'] ?? '';
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
|
|
||||||
<!-- wp:column {"layout":{"type":"constrained","justifyContent":"left"}} -->
|
<!-- wp:column {"verticalAlignment":"center","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||||
<div class="wp-block-column">
|
<div class="wp-block-column is-vertically-aligned-center">
|
||||||
<!-- wp:paragraph -->
|
<!-- wp:paragraph -->
|
||||||
<p><strong><?php echo esc_html( $testimonials_title ); ?></strong></p>
|
<p><strong><?php echo esc_html( $testimonials_title ); ?></strong></p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
|
|
Loading…
Reference in New Issue