# Edit module code

**URL:** <https://community.hubspot.com/t/edit-module-code/99871>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [February 9, 2024, 4:08pm UTC](https://community.hubspot.com/t/edit-module-code/99871 "2024-02-09T16:08:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pallavan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pallavan/32/88643_2.png) [@Pallavan](https://community.hubspot.com/u/Pallavan)\
**Post date:** [February 9, 2024, 4:08pm UTC](https://community.hubspot.com/t/edit-module-code/99871/1 "2024-02-09T16:08:47Z")

</div>

Hi ,

How can i edit a drag and drop module code. Like i want the module to become mobile friendly. Where can i add a extra code to make it mobile friendly?

---

<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:** [February 9, 2024, 4:15pm UTC](https://community.hubspot.com/t/edit-module-code/99871/2 "2024-02-09T16:15:30Z")

</div>

Hi @Pallavan This will depend greatly on what theme you’re using (a HubSpot theme, one from the marketplace, or a custom theme) and also whether your website was built with a child theme.

Here are a few questions to get started:

1 - what type of theme in Design Tools, is it in the @HubSpot, @Marketplace or a custom folder?

2 - Do you have a child theme? This is most likely only if you have a HubSpot/Marketplace theme.

3 - If HubSpot/Marketplace, what theme is it?

---

<div class="post-metadata">

**Author:** ![dsmarion](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dsmarion/32/7509_2.png) [@dsmarion](https://community.hubspot.com/u/dsmarion)\
**Post date:** [February 9, 2024, 4:33pm UTC](https://community.hubspot.com/t/edit-module-code/99871/3 "2024-02-09T16:33:06Z")

</div>

If you’re interested in learning more: [Modules Overview - HubSpot docs](https://developers.hubspot.com/docs/cms/guides/getting-started-with-modules)
