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

Commit 4992e3a

Browse files
nefelinemikejolley
authored andcommitted
Fix editor render for a few paragraphs within the Product Listing Pattern.
1 parent a914d67 commit 4992e3a

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

patterns/product-details-listing.php

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,38 @@
1414
<img src="<?php echo esc_url( plugins_url( 'images/pattern-placeholders/product-details-product-listing.jpg', dirname( __FILE__ ) ) ); ?>" alt="" />
1515
</figure>
1616
<!-- /wp:image -->
17-
<!-- wp:group {"style":{"spacing":{"padding":"0px","blockGap":"0px","margin":{"top":"30px","bottom":"20px","left":"31%"}}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
18-
<div class="wp-block-group is-content-justification-center" style="margin-top:30px;margin-bottom:20px;margin-left:31%;padding:0">
19-
<!-- wp:paragraph {"style":{"typography":{"fontSize":"24px","textColor":"#fda700"}} -->
20-
<p class="has-text-color" style="color:#fda700;font-size:24px">★★★★</p>
17+
<!-- wp:group {"align":"full","style":{"spacing":{"padding":"0px","blockGap":"0px","margin":{"top":"30px","bottom":"20px","left":"0px"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center","verticalAlignment":"center"}} -->
18+
<div class="wp-block-group alignfull" style="margin-top:30px;margin-bottom:20px;margin-left:0px;padding:0">
19+
<!-- wp:paragraph {"style":{"typography":{"fontSize":"24px"},"color":{"text":"#fda700"}}} -->
20+
<p class="has-text-color" style="color:#fda700;font-size:24px;">★★★★</p>
2121
<!-- /wp:paragraph -->
22-
<!-- wp:paragraph {"style":{"typography":{"fontSize":"24px"},"textColor":"#ffe8a4","spacing":{"margin":{"right":"8px"}}} -->
23-
<p class="has-text-color" style="color:#ffe8a4;margin-right:8px;font-size:24px">★</p>
22+
23+
<!-- wp:paragraph {"style":{"typography":{"fontSize":"24px"},"color":{"text":"#ffe8a4"},"spacing":{"margin":{"right":"8px"}}}} -->
24+
<p class="has-text-color" style="color:#ffe8a4;margin-right:8px;font-size:24px;">★</p>
2425
<!-- /wp:paragraph -->
25-
<!-- wp:paragraph {"style":{"typography":{"fontSize":"13px"},"textColor":"foreground"} -->
26-
<p class="has-foreground-color has-text-color" style="font-size:13px"><strong>4.2 </strong>(1,079 reviews)</p>
26+
27+
<!-- wp:paragraph {"style":{"typography":{"fontSize":"13px"},"color":{"text":"#000000"}}} -->
28+
<p class="has-text-color" style="color:#000000;font-size:13px;"><strong>4.2 </strong>(1,079 reviews)</p>
2729
<!-- /wp:paragraph -->
2830
</div>
2931
<!-- /wp:group -->
32+
3033
<!-- wp:heading {"style":{"spacing":{"margin":{"bottom":"20px"}},"typography":{"fontSize":"48px","fontStyle":"normal","fontWeight":"700","lineHeight":"120%"}},"textColor":"black","fontSize":"x-large"} -->
3134
<h2 class="wp-block-heading has-black-color has-text-color has-text-align-center has-x-large-font-size" style="font-size:48px;font-style:normal;font-weight:700;line-height:120%;margin-bottom:20px;">Bella Pro Series - 1.6-qt. Deep Fryer - Stainless Steel</h2>
3235
<!-- /wp:heading -->
33-
<!-- wp:paragraph {"style":{"spacing":{"margin":{"bottom":"40px"}},"padding":"0px","blockGap":"0px","margin":{"bottom":"20px"}},"typography":{"fontSize":"28px","fontWeight":"700"}},"textColor":"foreground"} -->
34-
<p class="has-foreground-color has-text-color has-text-align-center" style="font-size:28px;margin-bottom:40px;">
35-
<strong><sup><sub>$</sub></sup>37.49 </strong><s style="color:lightgrey;font-weight:400;">$47.49</s>
36-
</p>
37-
<!-- /wp:paragraph -->
36+
37+
<!-- wp:group {"align":"full","style":{"spacing":{"padding":"0px","blockGap":"0px","margin":{"top":"0px","bottom":"40px","left":"0px"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center","verticalAlignment":"center"}} -->
38+
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:40px;margin-left:0px;padding:0">
39+
<!-- wp:paragraph {"style":{"typography":{"fontSize":"28px"},"color":{"text":"#000000"},"spacing":{"margin":{"right":"8px"}}}} -->
40+
<p class="has-text-color" style="color:#000000;margin-right:8px;font-size:28px;"><strong><sup><sub>$</sub></sup>37.49</strong></p>
41+
<!-- /wp:paragraph -->
42+
43+
<!-- wp:paragraph {"style":{"typography":{"fontSize":"28px"},"layout":{"selfStretch":"fit","flexSize":null},"color":{"text":"#d3d3d3ff"}}} -->
44+
<p class="has-text-color" style="color:#d3d3d3ff;font-size:28px;"><s>$47.49</s></p>
45+
<!-- /wp:paragraph -->
46+
</div>
47+
<!-- /wp:group -->
48+
3849
<!-- wp:buttons {"style":{"spacing":{"blockGap":"0px"}}} -->
3950
<div class="wp-block-buttons is-content-justification-center">
4051
<!-- wp:button {"backgroundColor":"black","textColor":"white","className":"is-style-fill","fontSize":"medium","style":{"spacing":{"padding":{"left":"94px","right":"94px","top":"20px","bottom":"20px"}}}} -->

0 commit comments

Comments
 (0)