Service Call to Action
BlockServiceCta
Services 5 options
Closing call-to-action panel with heading and one or two buttons, coloured per service group.
Published · by Christopher Alberto
Live demo
Open full screenAt a glance
- Component
BlockServiceCta- Category
- Services
- Used as
- Page block — “Block: Call to Action”
- Options
- 5 editable fields
- Built with
- PHP, Twig, SCSS
- Platform
- WordPress · Flynt theme · Timber/Twig · ACF Pro
About this component
The closing panel on service pages and the archive: a heading with a primary (and optional secondary) button, tinted to match the service group.
Under the hood
Components/BlockServiceCta/
-
_style.scssStyles (SCSS) 35 lines -
functions.phpFields & data (PHP) 20 lines -
index.twigMarkup (Twig) 11 lines