# Header Navigation Trouble

**URL:** <https://community.hubspot.com/t/header-navigation-trouble/3595>\
**Category:** CMS Development\
**Created:** [October 17, 2017, 9:05pm UTC](https://community.hubspot.com/t/header-navigation-trouble/3595 "2017-10-17T21:05:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 17, 2017, 9:05pm UTC](https://community.hubspot.com/t/header-navigation-trouble/3595/1 "2017-10-17T21:05:35Z")

</div>

Navigation on my home page is not formatting correctly. Not sure how to fix. All pages have the same Global Header Group, however the home page is the only one that’s not formatting correctly. Any ideas on what/where I can go to fix the problem?

I’ve tried cloning the group and removing the Custom CSS Class, but nothing has worked to this point. And, short of jumping in to edit the code, I’m not sure what to do.

Thanks for your help.

 ![Screen Shot 2017-10-17 at 2.59.39 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/1/91a748e3c9eaae7886ce51deda1d2366e8d72418.jpeg)  
Home Page  
 ![Screen Shot 2017-10-17 at 2.59.48 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/d50c30e3bff818e24e596f44293b1e90dc60ce17.png)  
Subsequent Pages  
 ![Screen Shot 2017-10-17 at 3.02.17 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/3/7332de7de124da0bfaf428797e3a1e3edb82ec5b.jpeg)  
Subsequent Pages

---

<div class="post-metadata">

**Author:** ![edjusten](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edjusten/32/14475_2.png) [@edjusten](https://community.hubspot.com/u/edjusten)\
**Post date:** [October 18, 2017, 8:34pm UTC](https://community.hubspot.com/t/header-navigation-trouble/3595/2 "2017-10-18T20:34:23Z")

</div>

Hi [@JesseBlack](https://community.hubspot.com/t5/user/viewprofilepage/user-id/19209) Welcome to the Community.

As it turns out the following code was added to the Head HTML (Edit \> Edit head) of your template [Vast Homepage Copy](https://app.hubspot.com/design-manager/3396618/templates/5391323382)_:_

```auto
<style>
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
float: left;
padding-top: 45px;
padding-left: 65px;
font-size: 45px;
</style>

```

By commenting out the _paddding-top_ and _padding-left_ declarations I was able to align the elements. I also changed the font size to 14 to match the other menus ,

```auto
<style>
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
float: left;
/*padding-top: 45px;
padding-left: 65px;*/
font-size: 14px;
</style>

```

Since this is the only page built on this template, this will only affect the home page.

Thank you,

Ed
