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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KingdomCoder
    Junior Member
    • Sep 2024
    • 8

    #1

    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!
  • esforim
    Active Community Member
    • Jan 2020
    • 2218

    #2
    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.

    Comment

    • rabii
      Active Community Member
      • Jun 2016
      • 1307

      #3
      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.
      Rabii
      Here to help :)

      Comment

      Working...