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

Commit 47dc1a3

Browse files
authored
Change the button text in the pattern to make it matching the content (#9435)
* Change the button text in the pattern to make it matching the content * Fix the image size so it's original ratio is preserved
1 parent 6252435 commit 47dc1a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

patterns/featured-category-focus.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
?>
88
<!-- wp:group {"align":"full","style":{"color":{"background":"#84bfe1"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","flexWrap":"wrap"}} -->
99
<div class="wp-block-group alignfull has-background" style="background-color:#84bfe1;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)">
10-
<!-- wp:image {"id":1,"width":626,"height":316,"sizeSlug":"full","linkDestination":"none"} -->
11-
<figure class="wp-block-image size-full is-resized"><img src="<?php echo esc_url( plugins_url( 'images/pattern-placeholders/product-furniture-10.png', dirname( __FILE__ ) ) ); ?>" alt="" class="wp-image-1" width="626" height="316"/></figure>
10+
<!-- wp:image {"id":1,"width":502,"height":335,"sizeSlug":"full","linkDestination":"none"} -->
11+
<figure class="wp-block-image size-full is-resized"><img src="<?php echo esc_url( plugins_url( 'images/pattern-placeholders/product-furniture-10.png', dirname( __FILE__ ) ) ); ?>" alt="" class="wp-image-1" width="502" height="335"/></figure>
1212
<!-- /wp:image -->
1313

1414
<!-- wp:paragraph {"align":"center","fontSize":"large"} -->
@@ -17,7 +17,7 @@
1717

1818
<!-- wp:buttons -->
1919
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"contrast","textColor":"base"} -->
20-
<div class="wp-block-button"><a class="wp-block-button__link has-base-color has-contrast-background-color has-text-color has-background wp-element-button">Shop shoes</a></div>
20+
<div class="wp-block-button"><a class="wp-block-button__link has-base-color has-contrast-background-color has-text-color has-background wp-element-button">Shop now</a></div>
2121
<!-- /wp:button --></div>
2222
<!-- /wp:buttons --></div>
2323
<!-- /wp:group -->

0 commit comments

Comments
 (0)