# Removing header height value

**URL:** <https://community.hubspot.com/t/removing-header-height-value/10096>\
**Category:** CMS Development\
**Created:** [September 7, 2018, 10:38am UTC](https://community.hubspot.com/t/removing-header-height-value/10096 "2018-09-07T10:38:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tette\_engage](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tette_engage/32/92090_2.png) [@tette\_engage](https://community.hubspot.com/u/tette_engage)\
**Post date:** [September 7, 2018, 10:38am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/1 "2018-09-07T10:38:41Z")

</div>

I’m working on a transparent header menu, which in itself works fine, but the height value of the header pushes my content down. When I enter my page it looks like I have a white header menu, but when I scroll it ‘transforms’ to being transparent. If I change the header height to 0px, my content rises to the top but the header itself vanishes. What code could bump my content to top, while keeping my header as is?

Thanks!

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [September 7, 2018, 11:40am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/2 "2018-09-07T11:40:11Z")

</div>

[@tette\_engage](https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145) - can you please post a preview link so we may give you some code back?

---

<div class="post-metadata">

**Author:** ![tette\_engage](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tette_engage/32/92090_2.png) [@tette\_engage](https://community.hubspot.com/u/tette_engage)\
**Post date:** [September 7, 2018, 11:41am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/3 "2018-09-07T11:41:50Z")

</div>

[http://www.prometheusone.io/-temporary-slug-d0b1517c-8f1a-4cc7-8606-748ccfc42b8c?hs\_preview=uRfEWnnD-6144333362#collapse1](http://www.prometheusone.io/-temporary-slug-d0b1517c-8f1a-4cc7-8606-748ccfc42b8c?hs_preview=uRfEWnnD-6144333362#collapse1)

Sorry, forgot the link 🙂

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [September 7, 2018, 11:49am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/4 "2018-09-07T11:49:37Z")

</div>

[@tette\_engage](https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145) - you have an inline style on the div. You should be able to add this css to a stylesheet to override it:

```auto
.body-container-wrapper {
 margin-top: 0 !important;
}

```

* * *

If this answer helped, please, mark as solved 😄

* * *

[tim@belch.io](mailto:tim@belch.io) | [forms.belch.io](https://forms.belch.io) | Design your own Beautiful HubSpot Forms; No coding necessary.

Drop by and say Hi to me [on slack](http://slack.belch.io/).

---

<div class="post-metadata">

**Author:** ![tette\_engage](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tette_engage/32/92090_2.png) [@tette\_engage](https://community.hubspot.com/u/tette_engage)\
**Post date:** [September 7, 2018, 11:52am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/5 "2018-09-07T11:52:05Z")

</div>

Wow, that was fast! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [September 7, 2018, 11:56am UTC](https://community.hubspot.com/t/removing-header-height-value/10096/6 "2018-09-07T11:56:08Z")

</div>

You’re welcome!
