How to Create a Responsive HTML Email Template (Mobile vs Desktop)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • shalmaxb
    replied
    I use bootstrap to create email-Templates and these are responsive. For a custom Newsletter entity, I use the HTML of that template, fill it by placeholders and send it. It looks different on mobile and desktop, see screenshots:

    Desktop

    Click image for larger version

Name:	email_desktop.jpg
Views:	168
Size:	64.7 KB
ID:	119833
    Mobile

    Click image for larger version

Name:	email_mobil.jpg
Views:	144
Size:	63.8 KB
ID:	119834

    Leave a comment:


  • rabii
    replied
    Espocrm use contenteditable which strip any media query. so unfortunately no. I am working on a commercial extension to add an html email builder to the email template.

    Leave a comment:


  • esforim
    replied
    I don't think it possible, but I could be wrong. I recommend you use AI to give it a try.

    I recently update our email signature through this method than using WYSIWYG tool online.

    Leave a comment:


  • How to Create a Responsive HTML Email Template (Mobile vs Desktop)?

    Hi everyone,

    I'm trying to create an email template in EspoCRM using HTML. I want the email to look different on mobile devices than on desktop — for example, different font sizes or layout adjustments.

    I’ve already tried using CSS media queries in the <style> tag and inline, but it doesn’t seem to work. The layout stays the same on both mobile and desktop when I test the email.

    Is it possible to use responsive design techniques (like media queries) in EspoCRM email templates? If so, could someone share an example or explain the best approach?

    Thanks in advance!
Working...