Support

Home Forums Event Espresso Premium Formatting emails and including image

Formatting emails and including image

Posted: June 11, 2018 at 4:05 pm


jaybe

June 11, 2018 at 4:05 pm

I am customizing the default Payment Reminder template and wanted to insert an image (right aligned) from the media library, as well as perform some simple text edits and adding bullet points. No copy/paste involved. On the html editing screen, the image would not right align, although the text screen showed right alignment code. Upon sending, the email lost formatting – the image was not right alignment (in gmail, outlook, iphone) and bullet points were missing. In Outlook specifically, text was one big jumbled mess, although paragraphs appeared okay in Gmail and iphone. Any suggestions on how to address this?
Thank you.


Josh

  • Support Staff

June 11, 2018 at 4:18 pm

The key is to use html tables and inline styles where possible when dealing with html emails. For example, to add an image that’s aligned to the right, your html will look like this:

<div class="content">
 <table>
  <tbody>
   <tr>
    <td>Content to display to the left of the image goes here</td>
    <td align="right">
    <img src="https://your-image-url.jpg" alt="" width="300" height="200" />
    </td>
   </tr>
  </tbody>
 </table>
</div>

The support post ‘Formatting emails and including image’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso