I’m using the provided HS drag&drop email template and I need to add a media query and other css to the head tag. Is there a way to do that (in a cloned version) or do I have to use the selectors provided in the template?
You unfortunately have to use the selectors provided in the template. I have done work-arounds for media query stuff (i.e. create a custom image module and use the picture element for an image and put your media queries in there.)
You could also include custom styles in a custom module. You have to make sure the email gracefully falls back for email clients that strip style tags in the body of the email.
Thanks John. I’ve been trying that but Gmail ignores style tags in the email body which stinks. I can’t even sneak a head tag in. HS strips it out.
Yeah, I’ve had to make sacrifices and design with progressive enhancement for any custom stuff. It would be nice for some custom css capabilities!