# Form Headers and Banner Overlay

**URL:** <https://community.hubspot.com/t/form-headers-and-banner-overlay/12280>\
**Category:** CMS Development\
**Created:** [January 11, 2019, 2:48pm UTC](https://community.hubspot.com/t/form-headers-and-banner-overlay/12280 "2019-01-11T14:48:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LevyRecognition](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/levyrecognition/32/22074_2.png) [@LevyRecognition](https://community.hubspot.com/u/LevyRecognition)\
**Post date:** [January 11, 2019, 2:48pm UTC](https://community.hubspot.com/t/form-headers-and-banner-overlay/12280/1 "2019-01-11T14:48:30Z")

</div>

I’m trying to put a form in the header of my landing page. I am able to edit the page layout in the Design Manager and get the form in the right area, but when I do, the header overlay overtakes the form and sort of hides it in behind the gradient.

I’m not a designer, so I’m not sure what to do. Any advice?

 ![form overlay.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/2/6240f30549b0430aaf0da1e113e8743b6baaa738.jpeg)

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [January 14, 2019, 2:01pm UTC](https://community.hubspot.com/t/form-headers-and-banner-overlay/12280/2 "2019-01-14T14:01:06Z")

</div>

Hey @LevyRecognition

This looks like it could potentially be solved by editing the z-index css parameter.

[This link](https://www.w3schools.com/cssref/pr_pos_z-index.asp) should give you a brief overview of z-index. You can apply your css changes in the righ hand menu of the template editor. Marketing \> Files & Templates \> Design Tools \> \* your template\*

---

<div class="post-metadata">

**Author:** ![LevyRecognition](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/levyrecognition/32/22074_2.png) [@LevyRecognition](https://community.hubspot.com/u/LevyRecognition)\
**Post date:** [January 14, 2019, 4:29pm UTC](https://community.hubspot.com/t/form-headers-and-banner-overlay/12280/3 "2019-01-14T16:29:25Z")

</div>

@Kevin-C

Thank you for sending the article. It helped clarify somethings and I was able to make the changes I wanted to make. I appreciate your help.

My other question is about removing content from a landing page without removing it from other pages using the same template. Any advice for that?

Thanks!

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [January 14, 2019, 5:11pm UTC](https://community.hubspot.com/t/form-headers-and-banner-overlay/12280/4 "2019-01-14T17:11:20Z")

</div>

@LevyRecognitionsure thing. We actually do this quite a lot on our websites.

We do this by building in a selection for the author to hide or show a certain piece of the module. In the design tools editor I’ll add a “Choice” Custom Field. This choice is then templated into the html as a class (by copying the “value only” from the custom field options next to the name, and pasting it into the html element’s class value). This selection usually looks like a “show” option that has an empty value (because by default it is usually shown), and “hide” option that has the value “hidden”. Then in the html and css I add (if it isn’t already there) a class for “hidden”. It usually looks like this:

```auto
.hidden {
 display: none!important;
 visibility: hidden!important;
 opacity: 0!important;
}

```

Hope this helps.
