[Plugin: Subscribe2] CSS from theme not not rendering inline into email
-
First – love the plugin.
In the specs you say its possible to load the theme CSS into the HTML emails.
Reading over some previous forum threads – it sounds like I just need to wrap particular parts of the email (title, post, etc.) with the correct divs (specifying the id and or classes) – and it sounds like the plugin will then pull the css for those classes/ids and write inline css into the email (i’m assuming also for the child elements that are included inside the post, such as p tags, images, etc. the plugin will write inline css for those objects)
Problem is if I specify div classes or ids, no styling is applied to the email (its acting as if your plugin is NOT writing inline css for those divs). If I instead take the actual css and apply it inline myself, then it works – except I can’t apply it in any amount of detail since your template only allows me to access {TITLE} and {POST} for example (not the elements inside {POST} such as p tags or images).
So my question is: Am I doing something wrong when I put in the div id/classes as you specify in the forum? Does your plugin pull in the styles and embed them into the email from the theme css?
OR: Can I only apply inline styles around the TITLE and POST objects in the template and only apply a limited depth of styling?
Here is my template:
<div id=”main”>
<div class=”post single”>
{BLOGNAME} has posted a new item, ‘{TITLE}’
<h1 id=”single-title”>
{TITLE}
</h1>
<div class=”postcontent”>
{POST}
</div>
You may view the latest post at
{PERMALINK}You received this e-mail because you asked to be notified when new updates are posted.
Best regards,
{MYNAME}
{EMAIL}
</div>
</div>thanks!
Dave
The topic ‘[Plugin: Subscribe2] CSS from theme not not rendering inline into email’ is closed to new replies.