Style title in simplenews newsletter

To add styling to the title of your newsletter, you must update a template.

Copy simplenews-newsletter-body.tpl.php from the modules’s theme folder to your site’s theme folder.

For instance, if your site is using Adminimal as your administration theme, then copy the template to that theme’s folder.


cp sites/all/modules/simplenews/theme/simplenews-newsletter-body.tpl.php sites/all/themes/adminimal_theme

sudo chgrp -R www-data /sites/all

Update the template adding a class for the title:

<h2 class="newsletter-title"><?php print $title; ?></h2>
<?php print render($build); ?>

The theme in use when you send the newsletter is the one that must have the template.