Pinegrow Community Support Forum

Move all style to inline for email and pdf template creation

It would be a wonderful time saver to be able to build a webpage in Pinegrow using Bootstrap (or any other CSS file) and then have a functionality to move all style properties inline, to support use where CSS includes are not possible (like email templates for Django or PDF templates for wkhtmltopdf). There is already a ‘move to separate file’ function. This would just do the opposite, but for the whole page.

You could just copy the stylesheet and place it in the HTML using <style></style>
No need to inline the rules.

That’s a decent alterative. My idea was that it would combine all styles, between bootstrap, custom css, and anywhere else, and put them inline (or per your suggestion, in the head tag). But I think your workaround should suffice

So on second thought, I would still love to see some sort of email creator built into Pinegrow. Would make life much easier!