Support

Home Forums Event Espresso Premium customize email template styles

customize email template styles

Posted: February 11, 2020 at 8:44 am

Viewing 4 reply threads


dirk.tussing

February 11, 2020 at 8:44 am

Hi EE4 support,

We are trying to customize the email templates style. For example, controlling the size of the logo via CSS. I have looked at some previous questions post here about registering Template Packs and Variations.

I’m wondering if that’s still the case or if there’s other (easier)way of altering the style.

Please advise, Thanks!


Josh

  • Support Staff

February 11, 2020 at 8:55 am

Hi,

The CSS for emails eventually gets inlined, so the easiest way is use inline styles. If you prefer to not use inline CSS you could use a template variation or even inject your own custom stylesheet from your theme (or some other location). This topic has more details on adding in an additional custom stylesheet for emails:

https://eventespresso.com/topic/ee4-custom-message-template-how-to-link-to-custom-css-file/#post-290277


dirk.tussing

February 11, 2020 at 9:02 am

Hi Josh,

Thanks for the quick response. The post topic is indeed really helpful. I will try it out first!

Thanks!


dirk.tussing

February 11, 2020 at 2:42 pm

For some reason the @media query is not working in the test email but it works in the preview. I was using @media only screen and (max-device-width: 576px). How can I make it work? Please advise, thanks!


Josh

  • Support Staff

February 11, 2020 at 3:26 pm

Hi,


@media
queries may not be supported by your email client. You’ll find more information here:

https://litmus.com/blog/understanding-media-queries-in-html-email

Viewing 4 reply threads

The support post ‘customize email template styles’ 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