Content Blocks
Overview
Content blocks give you the flexibility to create fully customized sections in your emails using raw HTML code. Whether you're embedding a unique layout, custom styles, or third-party widgets, HTML content blocks offer complete creative control.
This guide will walk you through how to create, edit, and use HTML content blocks safely and effectively.
A content block is a customizable section where you can input and manage raw HTML. Unlike standard drag-and-drop blocks (e.g., text, image, button) which you can save from the drag and drop editor, HTML-based content blocks allow you to define your content with advanced liquid code with full HTML flexibility.
Use an HTML block when:
- You need design or layout flexibility beyond the standard blocks
- You want to define conditional logic or use Liquid templating code
- You need pixel-perfect control over styling for branding or compliance
- You’re importing pre-coded templates from external tools