Can use inline stylesheet in email template?



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?



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.


Thank you :slight_smile:


No problem. Use something like 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.