3

I would like to add some fancy CSS and HTML in the system workflow messages. I know there’s a section to add a header logo. But I was wondering if there’s an ideal way to make the entire format responsive like modern emails. I have tried copying and pasting some CSS HTML from mail chimp although it works but In th drupal log there’s 100s error (User error: smarty......) gets registered per email is sent.

If someone has done already something like this I would be very grateful if you share your sample code please. Or even some suggestions would be greatly appreciated.

3
  • Put your css inside {literal}{/literal} tags to prevent smarty from processing them.
    – Demerit
    Apr 7, 2019 at 21:23
  • thanks !!! that worked.
    – Tapash
    Apr 8, 2019 at 10:39
  • Great I'll post it as an answer.
    – Demerit
    Apr 8, 2019 at 12:47

1 Answer 1

6

Put your css inside {literal}{/literal} tags to prevent smarty from processing them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.