The conditionals in your code there are telling PHP to return if it’s not an html message type (i.e. an invoice, receipt, or html ticket) and to also return if it’s not the editor page. So in order to load the CSS for an email, you can alter the conditionals so they return if it’s an html message type and if the request is from the editor page.
The support post ‘EE4 – Custom css email’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.