Skip to content

Instantly share code, notes, and snippets.

@schutzsmith
Last active June 13, 2021 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schutzsmith/46023053c44b3033a774dc2f0e9dc81a to your computer and use it in GitHub Desktop.
Save schutzsmith/46023053c44b3033a774dc2f0e9dc81a to your computer and use it in GitHub Desktop.
WordPress Block Pattern for Call To Action Vertical
<!-- wp:heading {"textAlign":"center"} -->
<h2 class="has-text-align-center"><strong>Section Title</strong></h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"center","textColor":"gray"} -->
<p class="has-text-align-center has-gray-color has-text-color">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons {"contentJustification":"center"} -->
<div class="wp-block-buttons is-content-justification-center"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link">Main call to action</a></div>
<!-- /wp:button -->
<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link">Secondary call to action</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment