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

Commit

Permalink
Store Customization > Remove placeholder text from the image on the H…
Browse files Browse the repository at this point in the history
…ero Product Chessboard pattern (#11250)
  • Loading branch information
tjcafferkey authored Oct 17, 2023
1 parent 85e21c2 commit 793c4ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions patterns/hero-product-chessboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<div class="wp-block-cover is-light">
<img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section. 1 out of 2.', 'woo-gutenberg-products-block' ); ?>" src="<?php echo esc_url( $image1 ); ?>" style="object-position:54% 52%" data-object-fit="cover" data-object-position="54% 52%"/>
<div class="wp-block-cover__inner-container">
<!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size"> </p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:cover -->
Expand Down Expand Up @@ -141,6 +144,9 @@
<div class="wp-block-cover">
<img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section. 2 out of 2.', 'woo-gutenberg-products-block' ); ?>" src="<?php echo esc_url( $image2 ); ?>" style="object-position:33% 6%" data-object-fit="cover" data-object-position="33% 6%"/>
<div class="wp-block-cover__inner-container">
<!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size"> </p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:cover -->
Expand Down

0 comments on commit 793c4ef

Please sign in to comment.