# How to change CSS stylesheet - source code global footer

**URL:** <https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445>\
**Category:** CMS Development\
**Created:** [January 24, 2019, 2:03am UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445 "2019-01-24T02:03:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sustainabilityw](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sustainabilityw/32/87988_2.png) [@Sustainabilityw](https://community.hubspot.com/u/Sustainabilityw)\
**Post date:** [January 24, 2019, 2:03am UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445/1 "2019-01-24T02:03:44Z")

</div>

Hi,

I am totally lost with this and kwwo nothing about CSS but Hubspot support suggested I post here and I may be able to get some help.

I have a template created by Hubspot. In the menu, the last item on the right is a Contact Us tab - which is a Green button. I am adding two items to the menu, but now the Green box over the contact button is not in the correct space but rather two places to the left.

This is how it appears on my website(Correctly):

This is how it appears on Hubspot hosted pages:

So as I understand it, I need to find where in the source code of the global footer I would need to implement the code for the green button (and where in the CSS to delete the green wrapping module too).

I belive this is the source code for the website:

Any help would be appreciated. Given my lack of knowledge in this area, if this is not something that can be sorted over a forum like this, I will take that on board too.

Thanks in advance.

Nathan

---

<div class="post-metadata">

**Author:** ![JasonRosa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jasonrosa/32/56551_2.png) [@JasonRosa](https://community.hubspot.com/u/JasonRosa)\
**Post date:** [January 24, 2019, 6:31pm UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445/2 "2019-01-24T18:31:31Z")

</div>

Hey, @Sustainabilityw could you link over the page that you’re working on so that I can take a closer look?

---

<div class="post-metadata">

**Author:** ![Sustainabilityw](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sustainabilityw/32/87988_2.png) [@Sustainabilityw](https://community.hubspot.com/u/Sustainabilityw)\
**Post date:** [January 25, 2019, 12:53am UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445/3 "2019-01-25T00:53:50Z")

</div>

Hi Jason,

[https://blog.sustainabilitywa.com.au/energy](https://blog.sustainabilitywa.com.au/energy)

[https://blog.sustainabilitywa.com.au/energy](https://blog.sustainabilitywa.com.au/energy)

These are the pages that have the incorrect green hilight location.

Is that the link you need - or th one form within Hubspot?

This is the template link here, but not sure if yuo can view this:

> **[Design Manager | HubSpot](https://app.hubspot.com/design-manager/546242/templates/6291188423)**

Thanks

Nathan

---

<div class="post-metadata">

**Author:** ![JasonRosa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jasonrosa/32/56551_2.png) [@JasonRosa](https://community.hubspot.com/u/JasonRosa)\
**Post date:** [January 25, 2019, 11:36am UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445/4 "2019-01-25T11:36:34Z")

</div>

Hey @Sustainabilityw thank you! I assume that the contact button is always going to be the last item in the menu, is that correct? If so, you should be able to adjust this by going to your style-sheet [here](https://app.hubspot.com/beta-design-manager/546242/code/6291188384)and changing line 504 from:

.custom-menu-primary .hs-menu-wrapper \> ul \> li:nth-child(6) \> a{

to:

.custom-menu-primary .hs-menu-wrapper \> ul \> li:last-child \> a{

and then changing line 522 from:

.custom-menu-primary .hs-menu-wrapper \> ul \> li:nth-child(6) \> a:hover

to:

.custom-menu-primary .hs-menu-wrapper \> ul \> li:last-child \> a:hover

---

<div class="post-metadata">

**Author:** ![Sustainabilityw](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sustainabilityw/32/87988_2.png) [@Sustainabilityw](https://community.hubspot.com/u/Sustainabilityw)\
**Post date:** [February 11, 2019, 6:03am UTC](https://community.hubspot.com/t/how-to-change-css-stylesheet-source-code-global-footer/12445/5 "2019-02-11T06:03:26Z")

</div>

Thanks so much Jason.

That has fixed it.

Thanks again for yuor help.
