Support

Home Forums Event Espresso Premium Messages: CSS template?

Messages: CSS template?

Posted: May 10, 2014 at 9:51 am

Viewing 1 reply thread


James Lowey

May 10, 2014 at 9:51 am

Hello,

I’ve been trying to add some HTML to the Registration Confirmed email that gets sent to registrants. However, the CSS seems to be quite aggressive – adding style/font properties to every HTML tag.

<html style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><head style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;">

How can I stop this happening? I’m even willing to disable that section of the CSS entirely, I just can’t find it!

Specifically, it is the file that starts:

<code>/* ------------------------------------- 
	Attention! This CSS file is used for generating the final messages that are sent to the attendees and admins.  
------------------------------------- */
/* ------------------------------------- 
		GLOBAL 
------------------------------------- */
* { 
	margin:0;
	padding:0;
}
* { font-family: &quot;Helvetica Neue&quot;, &quot;Helvetica&quot;, Helvetica, Arial, sans-serif; }</code>

(I know this because the entire CSS file is included in the email too.)


Dean

May 12, 2014 at 2:05 am

Hi,

The CSS files are located here:

Email
/wp-content/plugins/ee422_/core/libraries/messages/messenger/assets/email/email-messenger-inline-css.template.css

Email Preview
/wp-content/plugins/ee422_/core/libraries/messages/messenger/assets/email/email-messenger-inline-preview-css.template.css

Also, in the file /wp-content/plugins/ee422_/core/libraries/messages/messenger/EE_Email_messenger.class.php is a function called get_inline_css_template.

Here you will find a filter that can be used to change the stylesheet for the messages: FHEE__EE_Email_Messenger__get_inline_css_template__css_url

Viewing 1 reply thread

The support post ‘Messages: CSS template?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso