# How to remove default header module from the theme

**URL:** <https://community.hubspot.com/t/how-to-remove-default-header-module-from-the-theme/85561>\
**Category:** Blog, Website & Page Publishing\
**Tags:** templates, website-pages\
**Created:** [July 18, 2023, 1:27pm UTC](https://community.hubspot.com/t/how-to-remove-default-header-module-from-the-theme/85561 "2023-07-18T13:27:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJeong](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@JJeong](https://community.hubspot.com/u/JJeong)\
**Post date:** [July 18, 2023, 1:27pm UTC](https://community.hubspot.com/t/how-to-remove-default-header-module-from-the-theme/85561/1 "2023-07-18T13:27:09Z")

</div>

Hi there,

I have this LP \*link edited for data privacy reasons\*

Link to the LP \*link edited for data privacy reasons\*

Where I have a custom template and a header module which I need to remove since I have hard coded my header in the Head HTMl advance section.

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [July 18, 2023, 3:19pm UTC](https://community.hubspot.com/t/how-to-remove-default-header-module-from-the-theme/85561/2 "2023-07-18T15:19:24Z")

</div>

Hey @JJeong just FYI most people here aren’t HubSpot employees so won’t have access to the CMS pages you’ve linked.

Removing a module (such as a header) does depend on how the theme has been built. More than likely, based no what you’ve said it is a coded theme and not a drag and drop template.

In order to do this, you’ll need to access your theme within your design manager and remove the header cal within the HTML/Hubl in your theme.

You’ll need to familiarise yourself with Hubl/HTML a small bit, there’s a great article on adding modules to your theme within the [docs here.](https://developers.hubspot.com/docs/cms/building-blocks/modules/using-modules-in-templates)

You basically just need to do the reverse of that! Find your header module within the code and then remove and publish.
