wptheme.com

The service agreement: a free WordPress block pattern

How to use it

  1. Copy the markup below.
  2. In the block editor, open the options menu and switch to the Code editor.
  3. Paste the markup where you want the section, then switch back to the Visual editor.
  4. Swap in your own text and images. Colors come from your theme's palette.

Block markup

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"className":"gw-agree-band","backgroundColor":"accent-2","textColor":"accent-contrast","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull gw-agree-band has-accent-contrast-color has-accent-2-background-color has-text-color has-background" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"34%"} -->
<div class="wp-block-column" style="flex-basis:34%"><!-- wp:paragraph {"className":"gw-label"} -->
<p class="gw-label">Why us</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why local customers choose us</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"gw-agree-note"} -->
<p class="gw-agree-note">We are a small team that treats every job like it is for a neighbor, because it usually is.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"gw-agree-rows","layout":{"type":"default"}} -->
<div class="wp-block-group gw-agree-rows"><!-- wp:group {"className":"gw-agree-row","layout":{"type":"default"}} -->
<div class="wp-block-group gw-agree-row"><!-- wp:paragraph {"className":"gw-agree-item"} -->
<p class="gw-agree-item">4.9 ★</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"gw-agree-detail"} -->
<p class="gw-agree-detail">Average rating from local customers</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"gw-agree-row","layout":{"type":"default"}} -->
<div class="wp-block-group gw-agree-row"><!-- wp:paragraph {"className":"gw-agree-item"} -->
<p class="gw-agree-item">15+ years</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"gw-agree-detail"} -->
<p class="gw-agree-detail">Serving this community</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"gw-agree-row","layout":{"type":"default"}} -->
<div class="wp-block-group gw-agree-row"><!-- wp:paragraph {"className":"gw-agree-item"} -->
<p class="gw-agree-item">Licensed</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"gw-agree-detail"} -->
<p class="gw-agree-detail">Fully licensed and insured</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"gw-agree-row","layout":{"type":"default"}} -->
<div class="wp-block-group gw-agree-row"><!-- wp:paragraph {"className":"gw-agree-item"} -->
<p class="gw-agree-item">Guaranteed</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"gw-agree-detail"} -->
<p class="gw-agree-detail">We make it right, or you do not pay</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->

Uses preset color and spacing slugs from the Groundwork theme (base, surface, accent, contrast). In another theme, map them to that theme's palette.

See it in a live site