# Extend theme modules via theme child

**URL:** <https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205>\
**Category:** HubSpot Ideas\
**Tags:** design-manager\
**Created:** [March 28, 2023, 6:05pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205 "2023-03-28T18:05:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dawidk](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dawidk](https://community.hubspot.com/u/Dawidk)\
**Post date:** [March 28, 2023, 6:05pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/1 "2023-03-28T18:05:46Z")

</div>

**The idea:**  
It would be awesome if developers could extend theme modules with their own custom modules.  
**Case:**  
1. We have created pages based on the theme bought in MP by default theme is read-only  
2. If we want to create our own module we are able to do this only by creating the module somewhere in the Desing Manager files and picking it up only from “all modules”.  
In my opinion, the list is not very clear, there is no search and it is hard to guess that the end user should look there for “extra” modules.  
**Solution:**

It would be great if the modules were created in the “child theme” or in some other way (eg. adding a field in module settings that would assign them to the selected theme) and then could be available in the “theme modules” section.

 ![Dawidk_1-1680026669562.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/3/934eb916934f529c31fea19c5cc982987ba5b034.png)

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [March 28, 2023, 8:53pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/2 "2023-03-28T20:53:55Z")

</div>

Hi @Dawidk This is already possible, when you have a marketplace theme, if you create a child theme, there is an option in Design Tools to “clone to child theme” for any modules or templates.

HubSpot will automatically create the folder structure needed in the child theme.

If you are using local development, you can create the folder structure for the module and add the module directly.

 ![Jnix284_0-1680036813493.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/1/d1761deb272e4b75c30615cb00db397487927f26.png)

---

<div class="post-metadata">

**Author:** ![Dawidk](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dawidk](https://community.hubspot.com/u/Dawidk)\
**Post date:** [March 29, 2023, 9:19am UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/3 "2023-03-29T09:19:45Z")

</div>

You are right, I’m able to clone the existing modules but I want to create a new one. When I’m trying to do this the new module doesn’t display in the section with theme modules.  
@Jnix284 unless there is a way to do that?

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [March 29, 2023, 2:26pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/4 "2023-03-29T14:26:56Z")

</div>

Hi @Dawidk, yes, you can add new custom modules to a child theme via local development ([CLI](https://developers.hubspot.com/docs/cms/developer-reference/local-development-cli))

---

<div class="post-metadata">

**Author:** ![Dawidk](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dawidk](https://community.hubspot.com/u/Dawidk)\
**Post date:** [March 29, 2023, 6:19pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/5 "2023-03-29T18:19:37Z")

</div>

Are you sure? I’ve created an example module in the child theme (modules directory - same as parent theme) and it is unavailable (not displayed in “modules theme”). Could you share an example?

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [March 29, 2023, 7:20pm UTC](https://community.hubspot.com/t/extend-theme-modules-via-theme-child/78205/6 "2023-03-29T19:20:29Z")

</div>

@Dawidk yes, I’m sure, we add modules on a regular basis. I’ll message back in the dev slack 🙂
