Announcement
Collapse
No announcement yet.
Responsive email template
Collapse
X
-
You can use style inline. This is the only way to get style in emails, as quite no email client would be able to function with style links.
I use for my Newsletters:
To create Templates: https://dashboard.unlayer.com/create/blank
To get the style inline: https://templates.mailchimp.com/resources/inline-css/
After that you can load this into the email editor of espoCRM and add your tags.
You won`t get the editor stopping to strip out, what it not wants.
-
I found this elsewhere - https://mjml.io/
Everything works ok except for <style> commands. These seem to get stripped out by the built-in template editor in espocrm, regardless of where they originate from (i.e., manually entered or from source HTML).
It would be brilliant if there was an easy way to stop the editor plugin stripping out <style> tags!
- Likes 1
Leave a comment:
-
Hi,
Maybe another possible solution:
Where is the email "skeleton" file where I could add a <STYLE>...<> element in the header of EVERY mass email generated by EspocrM?
Thanks!
Leave a comment:
-
Responsive email template
Hi,
We have been advised to prepare "responsive" email for our mailings, so the style and layout will adapt if contacts are reading our mailing on a mobile / small screen display. Typically, this requires some style element with media queries.
See examples here:
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Alternatively, one can mimic responsive / media queries, with very elaborated inline style.
So my question is: is there any easy way to have a style element in the header? as I understand the email template should contain normally only the "body" of the email?
Thanks,
Olivier.Tags: None
Leave a comment: