HTML Style Tag warning in emails

In the Review and Publish section of emails, I get a warning that says “One of your modules contains HTML style tags that will render in the email body. This is not supported by some email clients, such as Gmail. Consider using inline styles instead.”

I’d like to fix the issue, but the warning doesn’t tell me which module has the issue. It would be helpful if the highlighted text actually directed you to the module in question. Right now it’s just a guessing game.

Hey! Usually this is a drag and drop module that won’t show up in the editor, but on the left under email contents, it should show up as something listed there. The module was originally created to handle custom fonts/colors/styling that couldn’t be edited in the editor. It’s possible those changes can be handled in the editor now since it’s had a few changes, but you’ll want to double-check that. Feel free to PM me if you’d like me to take a gander!

Hi Ashley,

Thank you for the insight! We use a custom email template instead of the drag and drop option. Does that effect how the “One of your modules” warning reads our email modules?

Hey, in that case, it’ll be in the HTML template itself instead of a module added to the email. You’ll need to pull out the styling block in the email template.

This error doesn’t really affect anything other than Gmail not being able to read it, FYI. It’s almost always just a branding thing to pull in specific fonts.

Just to add to @ashleyidesign’s answer on this, this is just a generic phrasing issue “one of your modules” essentially your template is the module. This is just warning about a style block in your email template. You can keep the style block and ignore the warning if you wish, it’s just a warning to let you know email clients won’t render this the same way a browser will render a website with css.