# Update embedded CSS in email drag & drop template

**URL:** <https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [August 19, 2020, 6:32pm UTC](https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393 "2020-08-19T18:32:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkal88](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mkal88/32/87988_2.png) [@mkal88](https://community.hubspot.com/u/mkal88)\
**Post date:** [August 19, 2020, 6:32pm UTC](https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393/1 "2020-08-19T18:32:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![John](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/john/32/43512_2.png) [@John](https://community.hubspot.com/u/John)\
**Post date:** [August 19, 2020, 7:05pm UTC](https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393/2 "2020-08-19T19:05:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mkal88](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mkal88/32/87988_2.png) [@mkal88](https://community.hubspot.com/u/mkal88)\
**Post date:** [August 19, 2020, 11:07pm UTC](https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393/3 "2020-08-19T23:07:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![John](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/john/32/43512_2.png) [@John](https://community.hubspot.com/u/John)\
**Post date:** [August 20, 2020, 12:22pm UTC](https://community.hubspot.com/t/update-embedded-css-in-email-drag-drop-template/24393/4 "2020-08-20T12:22:10Z")

</div>

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!
