# Adding custom CSS to email head

**URL:** <https://community.hubspot.com/t/adding-custom-css-to-email-head/99403>\
**Category:** Email Marketing Tool\
**Tags:** templates\
**Created:** [February 4, 2024, 8:19pm UTC](https://community.hubspot.com/t/adding-custom-css-to-email-head/99403 "2024-02-04T20:19:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkgavin](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@nkgavin](https://community.hubspot.com/u/nkgavin)\
**Post date:** [February 4, 2024, 8:19pm UTC](https://community.hubspot.com/t/adding-custom-css-to-email-head/99403/1 "2024-02-04T20:19:42Z")

</div>

I have an HTML module with a table. I need to add some responsive CSS for the table, but the inline \<style\> tag gets stripped out in Gmail. I need to add the custom CSS to the \<head\>. How can I do this?

---

<div class="post-metadata">

**Author:** ![RatulRahman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ratulrahman/32/53642_2.png) [@RatulRahman](https://community.hubspot.com/u/RatulRahman)\
**Post date:** [February 5, 2024, 10:40am UTC](https://community.hubspot.com/t/adding-custom-css-to-email-head/99403/2 "2024-02-05T10:40:09Z")

</div>

Hello, @nkgavin!

To the best of my knowledge, this cannot be done in HubSpot. maybe consider a different email provider if you need some thorough customization!

---

<div class="post-metadata">

**Author:** ![nkgavin](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@nkgavin](https://community.hubspot.com/u/nkgavin)\
**Post date:** [February 6, 2024, 2:43am UTC](https://community.hubspot.com/t/adding-custom-css-to-email-head/99403/3 "2024-02-06T02:43:08Z")

</div>

Thanks for the response. It’s disappointing how HubSpot is lacking some very simple but useful or even essential features, e.g. custom CSS, vertical alignment, responsive options, etc.

---

<div class="post-metadata">

**Author:** ![RatulRahman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ratulrahman/32/53642_2.png) [@RatulRahman](https://community.hubspot.com/u/RatulRahman)\
**Post date:** [February 6, 2024, 7:23am UTC](https://community.hubspot.com/t/adding-custom-css-to-email-head/99403/4 "2024-02-06T07:23:43Z")

</div>

It can indeed feel a bit disappointing. HubSpot’s target is to create a place where you can do everything all at once, but that often leads to little customization abilities.
