Product Sections

Discount Promotion Banner

High-contrast promo banner for discount pushes, limited offers, and short-term campaign incentives.

Source
discount-promotion-banner.mjml
Output
MJML and compiled HTML
QA
4 client notes
Modes
Snippet or standalone
Discount Promotion Banner rendered email block preview

Use

How to use this block

Treat the component as one production section inside a larger message system. Keep the shared classes and wrapper rules intact, then adapt the copy, imagery, and links to the send.

Use this block when...

  • Use as a campaign interruption block when the discount itself is the message rather than supporting detail.
  • Keep the copy concise so the banner stays punchy and does not become another long content section.

Keep in mind

  • Check contrast carefully because dark promotional panels can become unreadable if colours are changed casually.
  • Make the offer terms clear in text rather than implying them through styling alone.

Source and output

Copy the format that fits the job

Copy the MJML snippet into the same body as your other blocks. Use standalone mode when testing this block on its own or exporting a full file for QA.

MJML snippet

Best for assembling a full email from reusable sections.

Standalone MJML

Best for local testing or isolated compilation.

Compiled HTML

Best for ESP handoff, QA review, or HTML-only integrations.

QA

Compatibility and rendering notes

Use these notes before moving the block into a campaign, layout system, or client handoff.

Client-specific notes

  • Gmail (Web + Mobile): Primary spacing, stack order, and CTA rendering hold up in Gmail web and mobile views.
  • Outlook Desktop (Windows): High-contrast banner layouts are stable, though Outlook can slightly alter button padding and text rhythm.
Discount Promotion Banner compatibility matrix
ClientStatusNotes
Gmail (Web + Mobile)TestedPrimary spacing, stack order, and CTA rendering hold up in Gmail web and mobile views.
Outlook Desktop (Windows)PartialHigh-contrast banner layouts are stable, though Outlook can slightly alter button padding and text rhythm.
Apple Mail (macOS + iOS)TestedNo additional notes.
Yahoo MailTestedNo additional notes.

Code

Source panels

The panels below preserve the copy behaviour for MJML and compiled HTML. Template Hedgehog Pro includes the full offline archive for teams that need the complete system locally.

Snippet assembly: place this block inside the same <mj-body> as your other snippets, then stack sections in send order.

Editable source

MJML snippet

Component block only. Use this when assembling an email from multiple reusable sections inside a project that already includes the shared MJML classes.

Formatting code preview...

Compiled output

Compiled HTML snippet

Component-only compiled markup for block-level inspection and HTML assembly workflows.

Formatting code preview...