Ceej is a set of simple, colorful HTML email templates geared towards account management. It follows the Litmus Template Guidelines and features a full set of templates for damned near any approach to email marketing: traditional responsive, mobile-first, and hybrid, too.
Has basic support for both Campaign Monitor and MailChimp, nothing too fancy, though - just worried about making things editable. Do with them what you will.
Colors are as follows:
blue = #539be2
green = #66BB7F
yellow = #FFA73B
red = #ec6d64
purple = #7c72dc
- CSS must be inlined
- Base width 600px (for hybrid/spongy + traditional responsive)
- Use media queries starting at 600px - use multiple if necessary
- For traditional responsive, use fixed width of 600px for table structure then optimize w/ media queries
- Mobile-aware base width 480px
- Use media queries starting at 480px
- Email structure must have parent table that wraps every module in its own table row/cell
- No empty cells or spacer gifs - use padding on table cells (exception of empty cells for some hybrid/spongy)
- Use semantic text tags
- Include View in browser, unsubscribe, address links
- Traditional responsive - fixed table w/ media queries
- Base 14px text
- Buttons need to be tappable - minimum 12px padding around text link
- Must render in all available Litmus clients
<!doctype html>
<html lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
body, table, td, a{-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
table, td{mso-table-lspace: 0pt; mso-table-rspace: 0pt;}
img{border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}
table{border-collapse: collapse !important;}
body{height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important;}
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
div[style*="margin: 16px 0;"] { margin:0 !important; }
<body style=”margin: 0; padding: 0;”>
Hidden Preheader Text
<div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden;">
Insert preheader text here.
</div>
<!--[if (gte mso 9)|(IE)]>
If solid color, use padding+border-based approach:
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" style="-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;" bgcolor="#e9703e"><a href="https://litmus.com" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; text-decoration: none; border-radius: 3px; padding: 12px 18px; border: 1px solid #e9703e; display: inline-block;">I am a button →</a></td>
</tr>
</table>
</td>
</tr>
</table>
If gradient or background image, use VML approach.
Link to litmus.com
<a href=”http://litmus.com” target=”_blank” style=”color: {color};”> </a>
Use Julie Ng's responsive images without media queries.
<img alt="Alt Text" src="#" width="600" style="display: block; width: 100%; max-width: 100%; min-width: 100px; font-family: Helvetica, Arial, sans-serif; color: #333333; font-size: 18px;" border="0">
Use backgrounds.cm approach if used.
Use @font-face, then wrap in @media { }
to prevent Outlook from using Times New Roman as a fallback.
Here are the hybrid modules to work off of (based off Fabio’s code w/ some slight modifications):
- 1 column
- 2 column
- 2 column w/ gutter
- 2 column reverse stack
- 2 column reverse stack (w/ gutter)
- 2 column unequal widths
- 2 column reverse stack (unequal widths)
- 3 column
- 3 column w/ gutter
- 3 column reverse stack
- 3 columns reverse stack w/ gutter
- 4 column
Here are the hybrid/spongy coding guidelines in action with our Slate collection of templates: