# How much code to I need to copy?

**URL:** <https://community.hubspot.com/t/how-much-code-to-i-need-to-copy/29526>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [December 23, 2020, 10:14pm UTC](https://community.hubspot.com/t/how-much-code-to-i-need-to-copy/29526 "2020-12-23T22:14:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wesmorris6](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wesmorris6/32/98997_2.png) [@Wesmorris6](https://community.hubspot.com/u/Wesmorris6)\
**Post date:** [December 23, 2020, 10:14pm UTC](https://community.hubspot.com/t/how-much-code-to-i-need-to-copy/29526/1 "2020-12-23T22:14:14Z")

</div>

So I’m working on updating our footers and headers for our landing page templates. We have a template uploaded with the right header and footer, and I just need to add those to the other pages that are being used. I have the code in front of me, I just need to know which lines of code I need to grab in the template in order to update the others. Just don’t want to brake anything.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 28, 2020, 8:38pm UTC](https://community.hubspot.com/t/how-much-code-to-i-need-to-copy/29526/2 "2020-12-28T20:38:28Z")

</div>

Hi @Wesmorris6

Welcome to the Community!

You will need to add some screenshots or copy the code over here so we can see it. We are flying bling right now 😜

@piersg and @Anton are solid HubSpot developers and might be able to help you along when you add the code!

---

<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:** [December 29, 2020, 5:23pm UTC](https://community.hubspot.com/t/how-much-code-to-i-need-to-copy/29526/3 "2020-12-29T17:23:47Z")

</div>

As @dennisedson mentioned it - we need some code or at least screenshots to provide the best possible help.

But: It depends what you’re working with. If you’re using templates like the good “old” design-manager drag&drop you should convert your LP header and footer to a global group(strongly recomended if you don’t use it). By doing so you can add it to multiple templates and every change you make in one template will be automaticly set/updated in all templates which uses this global group.

If you’re using design-manager drag&drop you can install [HubX from Neambo](https://chrome.google.com/webstore/detail/hubx-by-neambo) for your Chrome browser - this extension lets you copy-paste modules between templates with ease. But: This won’t work if the modules belongs to bought templates!

If you want to display your header/footer from a template in a theme it can get very tricky real quick. But you can do a “first fit” by copying the path of the global group, opening your theme and paste the path as a “global-partial” into the template.

best,

Anton
