What is adaptive layout? Playground by ZURB. Email template codenamed “Focus”
Let's imagine the situation: Sergey is a Netology graduate and a novice marketer. He works in a small online store, one of his tasks is to launch a mailing list to his client base. The strategy, plan and texts for letters are ready. What to do with design and adaptive layout? The budget is running out, so Sergei has a serious choice: save money and do everything himself, in the editor of the mailing service. Or hire a freelancer.
Our advice: Sergey must decide what letters he needs. If he doesn’t pursue creativity, he can handle the design and layout himself. We tell you how to do it correctly, without the help of third-party specialists. The result will be different, but in a situation where the budget is running out and it is necessary to do it more or less efficiently, this is the way out.
Choosing a built-in editor or layout designer services
Large mailing services have a built-in block editor. It collects simple adaptive emails and is included in the subscription price. It will not be possible to format a complex creative letter in an editor - this is the work of the designer and layout designer. First, let’s figure out which letter is classified as complex and which is classified as simple.
Next come the “chips”. In some places you can set the exact size for individual blocks, but in others you can’t. In one editor you can only collect single-column letters, in another there are no restrictions on the number of columns. In some editors, you can even configure which blocks to show on the desktop version, and which ones only on mobile devices.
The designer and layout designer offer individual solutions, the editor - standard ones. Keep in mind that when compiling a letter in an editor, you are in any case limited, for example, by the set of fonts and their sizes. The designer will do it the way you wanted. The layout designer will think about how to rearrange the blocks on mobile devices - just as you planned. When working in the block editor, you rely on solutions proposed by the developers.
The editor adapts the letter according to his own algorithm; the algorithm cannot be changed.
If you have worked out the structure, written the text and selected pictures, then creating a letter will take from thirty minutes to two hours. Let us remind you that you do not pay for layout; work with the editor is included in the cost of the account.
A team of a designer and a freelance layout designer will make a letter in two or three days, it will cost from 5,000 to 15,000 rubles. If you order from an agency, it is several times more expensive. Remember the story from the intro? For Sergei, the choice is obvious: he will collect the letter himself, in his situation it is cheaper and faster.
It is better to compose a simple adaptive letter in the built-in editor. If you want to non-standard solutions- outsource.
How to compose a letter in the built-in editor
Those who assemble the letter in the editor do not need to know the code. The only thing you need is to think through the structure of the letter, select pictures and write the text. No “manual” layout - you will assemble the letter from blocks, just like in a landing page builder.
Step 1. Letter outline or prototype
Start with a draft, draw on paper a diagram of the future letter: where the heading will be, where the picture is, where the button is, etc. If you have time, assemble a full-fledged prototype in Balsamiq or NinjaMock. There is no shame in showing such a prototype to the director and handing it over to the designer.
Step 2. Layout of the letter in the editor
Add required quantity columns, based on already ready-made scheme or prototype
Drag the necessary elements into the body of the letter
Typically, built-in editors use the Drag-and-drop principle. If this is not the case in yours, look at the articles from the Knowledge Base - the principles of working in the editor are described there.
Customize the content of elements: indents, spacing, alignment and style
Here you enter the required text, add a photo or illustration, with or without links. Don't forget that you can add an animated picture; most editors support the GIF format.
Just don't go overboard with the file size. Email clients do not like “heavy” letters and can hide their contents under the “Show Full” button - this is what Gmail does, for example. Select files so that the finished letter weighs no more than 600 KB, this is the optimal size.
Don't forget to customize the buttons and add navigation links to them.
Step 3. Checking responsiveness in the built-in editor
When the email is ready, check how it appears on different devices.
In 90% of cases everything will be fine, the blocks will be “rebuilt” automatically. If the layout still “flies” or the result does not suit you, check the indentation values in the blocks, they should be the same. If one block retreats by 10 points, and the other by 30, in mobile version they may change lanes incorrectly. If both blocks move back 10 points, you'll likely be fine.
Step 4. Check adaptability on third-party services
Check the result via Litmus or Email on Acid. These services will show how the letter will be displayed on different devices, in different browsers and different mail clients.
In some editors, checking through Litmus is integrated by default. If your editor does not have this option, send a test copy of the letter to a special e-mail that will be given after registering with Litmus.
The service is paid, a monthly subscription in Litmus starts from $79, in Email on Acid - from $45. If you send one email once a month, it gets a little expensive. As a last resort, try Browser Shots, it's old and inconvenient, but free. Please remember that such services do not provide a 100% guarantee. Even if everything is good in Litmus, this is not a reason to immediately launch a newsletter. Send the letter to your personal email and open it there.
Choose an editor that shows you how your email looks on different devices. Ideally, the editor is integrated with the Litmus service. If there is no integration, check adaptability manually via personal email.
How to evaluate the result of the work - yours or the layout designer's
If you are putting together a letter yourself, check the adaptability inside the editor and look at the letter from your personal email - that’s enough. If you want to test responsiveness on many devices, browsers and email clients at once, then buy an account with Litmus or Email on Acid and see the results there.
For those who outsourced their layout, it is not necessary to buy an account; ask the layout designer for screenshots from Litmus. If he is a professional, he checks emails on similar services; sending a screenshot is not a problem for him.
When checking, take a closer look at your email clients; mostly, bugs pop up here. Be sure to check how the letter opens in Outlook, Gmail, Yandex and Mail.ru - these are the most popular email clients in Russia.
There is no need to waste time correcting the layout if it is not displayed correctly on the third iPhone, in the seventh version of Internet Explorer or in the email client The Bat. Yes, there will always be those who use a third iPhone, but they are a minority. Is it worth redoing the layout for the sake of 1-2% of the total base? Depends on the quantity and “quality” of the base.
We hope you have segmented it and know everything about your subscribers. If 1-2% is 10,000 people, then it’s worth the trouble. If you work in b2b and these 1-2% are company managers, business owners and other VIP clients, you will have to adapt the letters to them.
Make sure that the letter is adequately displayed in Outlook, Gmail, Yandex and Mail.ru - this is enough.
Marketer's Memo
1) Decide on the format of the letter, what it will be: standard and simple or complex and creative. Give letters with a complex structure to the designer and layout designer. Collect simple letters in the editor of the mailing service; they are adapted by default.
2) Check the result in the built-in editor and, if your budget allows, on third-party services. When accepting a letter from a layout designer, ask for screenshots that confirm that the letter is displayed correctly - at least in popular email clients and popular browsers.
3) Be sure to view the letter through personal mail, at least in the main email clients and from current smartphone models on iOS and Android.
Multi-channel marketing platform
Updated material 06/20/2018
The layout of letters differs from the usual web layout due to the peculiarities of interpretation in various web interfaces and email clients.
Let's look at examples of how to achieve good display of an email in all the variety of ISPs and email clients.
What does a general template look like? adaptive writing:
|
To solve the issue with auto-scaling emails in iOS 10 and iOS 11, we added:
Autoscale error example
Next hack:
Webkit-text-size-adjust:none; -ms-text-size-adjust: none;
prevents iOS devices from changing the content of the email to make it easier to read. This usually goes against the design and can break the layout:
Let's move on to the body of the letter - the body section. The background color of the web interface can be different, so you need to wrap everything in a table with the desired background color, even if it is white, as in this case:
… |
Due to limited support for style properties, such as max-width, by Outlook 2007–2016 email clients, as well as IE-like Outlook 2003 and Lotus Mail email clients, it is necessary to build an auxiliary table structure in conditional comments that will limit the width of the message in these email clients:
Block1 | Block2 |
The code between:
will be ignored by all email clients except Outlook 2007–2016 and IE-like email clients.
And each of the blocks will have the following structure:
Block |
Also in letters, sometimes there is a situation where the blocks are arranged in a checkerboard pattern, however, when rebuilding, it is desirable to maintain the logical sequence of the blocks and rebuild not the right block under the left, but vice versa - the left block under the right. This can be done by changing the direction of the text, it will look like this:
|
Other elements and techniques
Invisible preheader
Almost all web interfaces also display the first text next to the subject of the email:
In mailings, this is usually technical information, such as “unsubscribe” and “open in browser”, which clearly does not motivate the subscriber to open the letter, however, by controlling the text displayed, you can significantly increase the chance of opening the letter.
To do this, add code with the following structure to the very beginning of the html body of the letter:
Using an invisible preheader can negatively affect deliverability, so use this technique carefully and carefully monitor deliverability through the postmaster.
Videos in letters
The standard Mail email client has once again started playing html5 videos, however, there is a direct link to the YouTube video placed on the image.
With this implementation, the video will be displayed on a layer in the web interfaces of Mail.ru (about 55%) and Gmail (about 14%). In this case, on most mobile devices the video will be opened in the Youtube application, without opening the browser.
The disadvantage of this approach is the inability to collect click statistics, since the link to Youtube must be direct, and click tracking for this mailing will have to be disabled in your ESP.
Testing
The most important stage of layout is testing letters. The best way is still to manually check the display of the letter in various web interfaces and email clients; this can help to send the “raw” layout of letters in the form of an archive. You need to know which platforms your subscribers use, which email providers they prefer, and conduct a manual check of at least the most popular ones.
To speed up the testing process, you can use the Litmus and EmailOnAcid services, but this does not eliminate the need to check the display of each individual letter manually.
The article mentioned some services, resources and tools that will undoubtedly be useful to letter layout designers and others. Here is a short list of useful resources.
Tools and services:
Email buttons - button generator using VML.
- inserting background images into letters using VML.
Litmus - testing the display of letters.
Email On Acid - alternative to Litmus: testing email display.
Useful materials:
Litmus blog is the market leader in email testing. Interesting cases and the latest news from the world of email marketing and email layout.
Blog Email On Acid - interesting cases and the latest news from the world of email marketing and email layout.
- the first blog about email marketing, talks about how to make emails effective.
Tod’s blog - interesting cases and useful materials about layout and development.
In this tutorial, I'll show you how to create a simple HTML email template that will display consistently in any modern email client and current smartphone app.
Media queries: only half the battle
There was a time when it was enough to determine the device type to create a responsive email template that would display equally well in both iOS and Android email clients, both families of smartphones supported the @media CSS property.
Since then, the number of email apps for both platforms, with varying levels of support for responsive template development techniques, has increased quite a bit.
Most notable is the latest update to the Gmail Android app, which is twice as popular as the stock Android email app (accounting for 11% of total launches). It never supported media queries, and still doesn't, but it now scales your emails by compressing the size of the external table to fill the entire available screen display area. This process is difficult to control and, if all your emails depend on media queries to display correctly on mobile devices, creates some unpleasant results.
Why is the floating dark horse pattern
The good news is that you can design and develop an email template that will look good in any email application, including those that don't support media queries.
However, there are several design trade-offs that you must make. Everyone's favorite "collapsing" of columnar layouts into one feed doesn't work so well with this method. If you learn to do without them, you can use functional design that works best.
Today we will do this.
First stage
Let's start by creating a blank template.
|