# Import CSS

**URL:** <https://community.hubspot.com/t/import-css/14750>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [June 12, 2019, 10:25am UTC](https://community.hubspot.com/t/import-css/14750 "2019-06-12T10:25:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sachahydra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sachahydra/32/51318_2.png) [@sachahydra](https://community.hubspot.com/u/sachahydra)\
**Post date:** [June 12, 2019, 10:25am UTC](https://community.hubspot.com/t/import-css/14750/1 "2019-06-12T10:25:02Z")

</div>

Hi good morning, I would like to ask how I import some new CSS files into Hubspot. I have followed the article to create, edit CSS

[https://knowledge.hubspot.com/articles/kcs\_article/cos-general/create-edit-and-attach-css-files-to-style-your-site?KBOpenTab](https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-edit-and-attach-css-files-to-style-your-site?KBOpenTab)

but this does not explain how new CSS files can be imported into Hubspot. Grateful for assistance. The CSS files have already been created outside Hubspot.

thank you. Sacha

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [June 12, 2019, 11:43am UTC](https://community.hubspot.com/t/import-css/14750/2 "2019-06-12T11:43:52Z")

</div>

Hi @sachahydra ,

You can import css into hubspot by creating a file (like in the article you shared), clearing any default css, and pasting your css into the file.

You can attach css to a template using the edit tab of the left side bar in the template editor. Make sure that no modules are selected.

You can attach css to a specifc page using the settings tab of the page editor.  
You are able to attach css files globally to your portal in the website area of your portal settings, though I find this to be bad practice.

Let me know if that helps.

---

<div class="post-metadata">

**Author:** ![sachahydra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sachahydra/32/51318_2.png) [@sachahydra](https://community.hubspot.com/u/sachahydra)\
**Post date:** [June 12, 2019, 12:32pm UTC](https://community.hubspot.com/t/import-css/14750/3 "2019-06-12T12:32:30Z")

</div>

Thanks Jonathan! I’ll give it a try. Sacha
