Newsletter css

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 24, 2013   (RSS)

By gregThomas - May 24, 2013

Hi Tim,

To include custom CSS you'll have to make a quick modification to the newsletter plugin. If you open newsletterBuilder.php in directory of your newsletter Builder plugin, then around line 836 you should see the head that is sent in the e-mail:

<head>
  <title>$htmlTitle</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" href="http://example.com/cmsAdmin/lib/wysiwyg_custom.css">
</head>

Then you just need to add the the html highlighted in green with a direct link to the stylesheet you want to include.

If you carry out an upgrade to the plugin at a later date you'll have to add this code again.

Let me know if you have any questions.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By Toledoh - May 24, 2013

Thanks Greg!

Cheers,

Tim (toledoh.com.au)