I have created a custom transactional email template and added event in my custom module to send email using this transactional template.

When I add Template Styles in template it is working on preview page but not working in emails.

enter image description here

Is there any setting in magento to enable this feature or any other method to apply custom css?

1 Answer 1


For your requirement, check this link to get idea on how to apply custom css in email template: Magento 1.9 - Change color or email templates

  • I don't want to change all email template layout, wants to change only one email template css. Commented Aug 4, 2016 at 5:00
  • You need to create a new class in your template and add style in css. So that new format will only apply in a single template and not in all.
    – user41152
    Commented Aug 4, 2016 at 8:59
  • How to do that, can you please explain? Commented Aug 8, 2016 at 10:30

Your Answer

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

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