# Extend form background past container

**URL:** <https://community.hubspot.com/t/extend-form-background-past-container/16537>\
**Category:** CMS Development\
**Tags:** design-manager, css, forms\
**Created:** [October 3, 2019, 12:17pm UTC](https://community.hubspot.com/t/extend-form-background-past-container/16537 "2019-10-03T12:17:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanBQ](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danbq/32/14727_2.png) [@DanBQ](https://community.hubspot.com/u/DanBQ)\
**Post date:** [October 3, 2019, 12:17pm UTC](https://community.hubspot.com/t/extend-form-background-past-container/16537/1 "2019-10-03T12:17:25Z")

</div>

Hi,

I’m trying to find a way to extend the grey background of the form on this page past the top and bottom of the background image below, so it looks like it sitting above it.

[https://www-databeat-net.sandbox.hs-sites.com/-temporary-slug-63cfc60c-4815-4281-a89c-33528a74a424?hs\_preview=gEVqFrCP-14455470630](https://www-databeat-net.sandbox.hs-sites.com/-temporary-slug-63cfc60c-4815-4281-a89c-33528a74a424?hs_preview=gEVqFrCP-14455470630)

Any ideas on how to do this are appreciated!

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:** [October 4, 2019, 8:18pm UTC](https://community.hubspot.com/t/extend-form-background-past-container/16537/2 "2019-10-04T20:18:45Z")

</div>

@Hey @DanBQ

Ive got a fun solution.

 ![image.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/d/6d75e03c74a23f3f34427472fbdbf831521b9236.jpeg)

Add this css to this page.  
The parts that “hang over” are pink just so they are easily idetified during testing. Change the color to **#d8d8d8** before publishing.

```auto
.module-overlay .page-center {
 overflow: visible;
}

.module-overlay .page-center:after {
 content: "";
 clear: both;
 display: table;
}

.module-overlay .page-center .two-col-form.six.columns {
 position: relative;
}

.module-overlay .page-center .two-col-form.six.columns:before {
 position: absolute;
 width: 100%;
 height: 100px;
 top: -100px;
 left: 0px;
 background-color: pink;
 display:table;
 content:""
}

.module-overlay .page-center .two-col-form.six.columns:after {
 position: absolute;
 width: 100%;
 height: 100px;
 bottom: -100px;
 left: 0px;
 background-color: pink;
 display:table;
 content:""
}

```
