Media queries in html email
-
Hi Chad,
Is there an issue with using media queries inside the Registration is Moderated email body?
I am successfully using the same html email code with several plugins but only WP-Members returns this error: print screen.
These are the first lines of my html email code and the only ones containing media queries:
<div class="c1" style="background-color:#f9f9f9"> <table style="max-width:650px;margin:0 auto" cellspacing="0" cellpadding="0"> <tbody> <style type="text/css"> @media only screen and (max-width:590px){ .c1{ background-color:white !important; } .c3a, .c3b{ width:100% !important; } } @media only screen and (max-width:1270px){ .c2,.c4{ background-color:#f7f7f7 !important; } } @media only screen and (min-width:590px) and (max-width:1270px){ .c1{ background-color:#f7f7f7 !important; } } </style> <tr class="c2" style="background-color:#f9f9f9"> <td align="center" style="padding:30px 0">I am using the minified html email code with all the plugins.
Thank you,
Andrei
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Media queries in html email’ is closed to new replies.