7

I am using Magento 1.9.1. I want to modify email-inline.css with some custom styles for a particular transactional email. I have created email-inline.css in my theme, but when I preview the email, only the styles in the original email-inline.css are used. If I create a new file email-inline1.css in the base directory, and refer to it specifically in the email template, it will pick that up, but it seems not to bother looking in my theme folder. Am I doing something wrong?? I don't want to have to specify all the styles in each email.

  • 1
    Can you verify that it also does not work in generated emails? Email preview can be wonky in Magento. – benmarks Feb 14 '15 at 15:45
  • And what about the sourcecode of the email ? Has the email-inline.css the correct path to your custom theme ? – roman204 Feb 14 '15 at 18:09
1

My suggestion here is that you are using the preview functionality in the admin section which does not know about your custom theme. I have seen the same problem in the cms preview feature.

What you will need to do is either set the correct them during the preview action.

0

Fixed. The answer is quite straightforward: I was wrongly using System->Design to assign the theme (this is meant for overriding the theme for a limited amount of time, and apparently doesn't affect emails) When I correctly used the System->Configuration->General->Design panel, and completed all the Package and Themes entries, the email theme overrides all started working!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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