# Remove Site header HTML from Landing Pages

**URL:** <https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447>\
**Category:** CMS Development\
**Created:** [April 10, 2018, 11:31pm UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447 "2018-04-10T23:31:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![debbie-larkins](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/debbie-larkins/32/61905_2.png) [@debbie-larkins](https://community.hubspot.com/u/debbie-larkins)\
**Post date:** [April 10, 2018, 11:31pm UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/1 "2018-04-10T23:31:56Z")

</div>

Is there a way to remove site header HTML from specific landing pages? We have a zendesk widget, but would prefer not to have this show on a few pages.

Thanks!

---

<div class="post-metadata">

**Author:** ![benvanlooy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benvanlooy/32/98997_2.png) [@benvanlooy](https://community.hubspot.com/u/benvanlooy)\
**Post date:** [April 11, 2018, 7:15am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/2 "2018-04-11T07:15:05Z")

</div>

If this header has an id, you can use css to hide it 🙂

---

<div class="post-metadata">

**Author:** ![debbie-larkins](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/debbie-larkins/32/61905_2.png) [@debbie-larkins](https://community.hubspot.com/u/debbie-larkins)\
**Post date:** [April 11, 2018, 10:44pm UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/3 "2018-04-11T22:44:45Z")

</div>

Thanks for your reply. It doesn’t have an ID - it’s just a standard zendesk script that been put into the site header 😕

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [April 12, 2018, 6:40am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/4 "2018-04-12T06:40:08Z")

</div>

Hi @debbie-larkins

In HubSpot you can either apply header code to all pages (in content settings), or individual pages (in the page settings).

If you want your script to not appear on certain pages, you would need to move it from the content settings to all the page settings.

Alternatively, you may be able to configure pages to exclude on the zendesk end - not sure.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![benvanlooy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benvanlooy/32/98997_2.png) [@benvanlooy](https://community.hubspot.com/u/benvanlooy)\
**Post date:** [April 12, 2018, 6:59am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/5 "2018-04-12T06:59:24Z")

</div>

You could also make a module from the header & add a boolean option to hide it on the pages you choose.

If you want, post a link to the page & I’ll see if there is somehow a solution with css 🙂

---

<div class="post-metadata">

**Author:** ![debbie-larkins](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/debbie-larkins/32/61905_2.png) [@debbie-larkins](https://community.hubspot.com/u/debbie-larkins)\
**Post date:** [April 13, 2018, 12:03am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/6 "2018-04-13T00:03:25Z")

</div>

Hi @benvanlooy,

The main site is:

> **[Advatange Telemessaging | 24/7 Answering Service & Call Center Solutions](https://www.advantagetelemessaging.com)**
>
> Ensure your business never misses a call with 24/7 professional live answering services tailored to your needs, enhancing customer support and capturing every opportunity.

But the page we are building that we’d like the zendesk script removed/hidden from is:

> **[ATM - A Better Foundation For Healthcare Communication](https://www.advantagetelemessaging.com/healthcare)**

Obvs, both are a work in progress… but any help we can get with this would be appreciated!

Thanks, Debbie

---

<div class="post-metadata">

**Author:** ![benvanlooy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benvanlooy/32/98997_2.png) [@benvanlooy](https://community.hubspot.com/u/benvanlooy)\
**Post date:** [April 13, 2018, 6:57am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/7 "2018-04-13T06:57:58Z")

</div>

Hi there

thanks!

And which part of the page would you like to be hidden?

(which part of the header?)

---

<div class="post-metadata">

**Author:** ![debbie-larkins](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/debbie-larkins/32/61905_2.png) [@debbie-larkins](https://community.hubspot.com/u/debbie-larkins)\
**Post date:** [April 16, 2018, 2:28am UTC](https://community.hubspot.com/t/remove-site-header-html-from-landing-pages/8447/8 "2018-04-16T02:28:51Z")

</div>

Haha, yeah I guess that would help, huh!

It’s the support widget that shows at the bottom of the page… in the source code its this:

\<script\>  
/\*\<![CDATA[\*/  
window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement(“iframe”);window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src=“x-javascript&colon;false”,r.title=“”,r.role=“presentation”,(r.frameElement||r).style.cssText=“display: none”,d=document.getElementsByTagName(“script”),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(e){n=document.domain,r.src=‘x-javascript&colon;var d=document.open();d.domain="’+n+‘";void(0);’,o=s}o.open().\_l=function(){var e=this.createElement(“script”);n&&(this.domain=n),e.id=“js-iframe-async”,e.src="[https://assets.zendesk.com/embeddable\_framework/main.js",this.t=+new](https://assets.zendesk.com/embeddable_framework/main.js%22,this.t=+new) Date,this.zendeskHost=“[atminc.zendesk.com](http://atminc.zendesk.com)”,this.zEQueue=a,this.body.appendChild(e)},o.write(‘\<body onload=“document.\_l();”\>’),o.close()}();  
/\*]]\>\*/  
window.zESettings = {  
webWidget: {  
position: {  
horizontal: ‘left’,  
vertical: ‘bottom’  
},  
color: {  
theme: ‘#A5292E’  
}  
}  
};  
\</script\>
