Can use inline stylesheet in email template?

wordpress

#1

The Envato suggest include CSS/JS file the right way using wp_enqueue.

This mean not use inline stylesheet in HTML.

But now not many email clients support link to an external stylesheet.

Can i create HTML email template with inline stylesheet? Except?

Thank


#2

You should only use inline styles. Every email that for example use media query in this shop is not responsive in gmail - gmail doesn’t read media queries.


#3

Thank you :slight_smile:


#4

No problem. Use something like https://litmus.com to check how your template looks like on different email clients. Email templates are really annoying job. Every email client display layout different and You must find solution.