Contact page design: a free WordPress block pattern
Contact section with phone, email, address and hours in a card.
How to use it
- Copy the markup below.
- In the block editor, open the options menu and switch to the Code editor.
- Paste the markup where you want the section, then switch back to the Visual editor.
- 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"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" 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":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading -->
<h2 class="wp-block-heading">Get in touch</h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"textColor":"contrast-2","fontSize":"large"} -->
<p class="has-contrast-2-color has-text-color has-large-font-size">Call for the fastest response, or send us a message and we will reply the same business day.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"className":"gw-call","metadata":{"bindings":{"url":{"source":"groundwork/business","args":{"key":"phone_url"}},"text":{"source":"groundwork/business","args":{"key":"phone_cta"}}}}} -->
<div class="wp-block-button gw-call"><a class="wp-block-button__link wp-element-button" href="tel:+15550100100">Call (555) 010-0100</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"gw-card","layout":{"type":"constrained"}} -->
<div class="wp-block-group gw-card"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
<h3 class="wp-block-heading has-medium-font-size">Phone</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"groundwork/business","args":{"key":"phone"}}}}} -->
<p>(555) 010-0100</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
<h3 class="wp-block-heading has-medium-font-size">Email</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"groundwork/business","args":{"key":"email"}}}}} -->
<p>hello@example.com</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
<h3 class="wp-block-heading has-medium-font-size">Address</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"groundwork/business","args":{"key":"address"}}}}} -->
<p>123 Main Street, Springfield, ST 00000</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
<h3 class="wp-block-heading has-medium-font-size">Hours</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"groundwork/business","args":{"key":"hours"}}}}} -->
<p>Mon–Fri 8am–6pm · Sat 9am–1pm</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:group {"align":"wide","className":"gw-form-wrap","layout":{"type":"constrained","contentSize":"760px","justifyContent":"left"}} -->
<div class="wp-block-group alignwide gw-form-wrap"><!-- wp:groundwork/contact-form {"title":"Send a message","intro":""} /--></div>
<!-- /wp:group --></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
- Accountant theme
- Ashby & Pell theme
- Bath & Kitchen Remodel theme
- Calloway & Reyes theme
- Commercial Plumber theme
- Construction theme
- Corbel Commercial theme
- Delgado & Marsh theme
- Dentist theme
- Drain & Sewer theme
- Emergency Plumber theme
- Hair Salon theme
- Hale & Ortiz theme
- Hollis & Serrano Home Selling theme
- HVAC theme
- Kessler Defense theme
- Kestrel & Holt theme
- Larkin & Ward theme
- Linden Family Law theme
- Local Plumber theme
- Ridgeline Land & Farm theme
- Roofing theme
- Therapist theme
- Water Heater theme
- Whitlock & Oduya theme
- Auto Repair theme
- Chiropractor theme
- Cleaning Service theme
- Electrician theme
- Landscaping theme
- Pest Control theme