# Multiple Instances Of Custom Module

**URL:** <https://community.hubspot.com/t/multiple-instances-of-custom-module/53185>\
**Category:** CMS Development\
**Created:** [March 15, 2022, 12:00pm UTC](https://community.hubspot.com/t/multiple-instances-of-custom-module/53185 "2022-03-15T12:00:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [March 15, 2022, 3:16pm UTC](https://community.hubspot.com/t/multiple-instances-of-custom-module/53185/2 "2022-03-15T15:16:16Z")

</div>

Hi @GBonner,

I would recommend to seperate the CSS part from the module and just “link” it.

To do so:

create a new CSS file in your theme, copy-paste everything between \<style\> and \</style\> into it and save it as “myModule.css”(give it a certain name). After that open your module and select it in the right sidebar in the “linked files” option.

Or paste the CSS code into your main CSS file if you never change those stylings and use the module quite often.

Same goes for JS. This works with both files unless you’re modifing it via hubl.

Hope this helps,

best,

Anton

---

_[View the full topic](https://community.hubspot.com/t/multiple-instances-of-custom-module/53185)._
