# Add CSS styles to custom module

**URL:** <https://community.hubspot.com/t/add-css-styles-to-custom-module/19143>\
**Category:** Email Marketing Tool\
**Created:** [March 2, 2020, 1:44pm UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143 "2020-03-02T13:44:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Egoi](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@Egoi](https://community.hubspot.com/u/Egoi)\
**Post date:** [March 2, 2020, 1:44pm UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143/1 "2020-03-02T13:44:03Z")

</div>

Is there a way to include CSS styles from another file to a custom module?

I am trying to import the stylesheet using PHP but this is not working.

---

<div class="post-metadata">

**Author:** ![DanielSanchez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danielsanchez/32/48193_2.png) [@DanielSanchez](https://community.hubspot.com/u/DanielSanchez)\
**Post date:** [March 2, 2020, 2:36pm UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143/2 "2020-03-02T14:36:49Z")

</div>

Hi @Egoi

The page and blog modules already have the CSS area to include the code.

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/27fbc97ff25d3165ab37514ac07a3033ff55519e.jpeg)

U can too, create and insert one stylesheet file in template, for all modules in this template.

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/7/a7b196fff627a9b4bb959fdcd6c14a390a29bff3.png)

Did this post help solve your problem? If so, please mark it as a solution.

Best regards!

---

<div class="post-metadata">

**Author:** ![JVallejo7](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@JVallejo7](https://community.hubspot.com/u/JVallejo7)\
**Post date:** [February 15, 2022, 4:07pm UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143/3 "2022-02-15T16:07:21Z")

</div>

Linked stylesheets are not working for me. What is going on ?

 ![JVallejo7_0-1644941226841.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/1/511726822a0c5759dcb36c0fce2cc5ddb289da02.jpeg)

 ![JVallejo7_1-1644941234222.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8cbc5e97b0516b454579818c6baaf3a104c95b98.png)

 ![JVallejo7_0-1644941443427.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/1X/093185ece1a7bb70806d3126f359d6ac437fb5a4.jpeg)

---

<div class="post-metadata">

**Author:** ![CHugo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chugo/32/31851_2.png) [@CHugo](https://community.hubspot.com/u/CHugo)\
**Post date:** [April 11, 2022, 8:55am UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143/4 "2022-04-11T08:55:49Z")

</div>

me too is not working!!!

---

<div class="post-metadata">

**Author:** ![VRana](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vrana/32/44503_2.png) [@VRana](https://community.hubspot.com/u/VRana)\
**Post date:** [June 11, 2021, 11:11am UTC](https://community.hubspot.com/t/add-css-styles-to-custom-module/19143/5 "2021-06-11T11:11:50Z")

</div>

Hi @DanielSanchez @Egoi, Is there a way to add/link the CSS files for email modules or in Drag & Drop email template?
