# Adding two main menu

**URL:** <https://community.hubspot.com/t/adding-two-main-menu/8533>\
**Category:** CMS Development\
**Created:** [April 18, 2018, 12:22am UTC](https://community.hubspot.com/t/adding-two-main-menu/8533 "2018-04-18T00:22:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ujjwalbhujel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ujjwalbhujel/32/98997_2.png) [@ujjwalbhujel](https://community.hubspot.com/u/ujjwalbhujel)\
**Post date:** [April 18, 2018, 12:22am UTC](https://community.hubspot.com/t/adding-two-main-menu/8533/1 "2018-04-18T00:22:44Z")

</div>

Hi,

I am new on Hubspot. I am currently creating a project where it’s got global version (.com) and regional version (.com/nz) and I want different main menu for each version. Does Hubspot allow to do that ? So far my experience with Hubspot is its using the same main menu across the website. Even if i create another menu and assign that as main menu, it will replace the previous main menu across the pages ? Is they any way to do that on Hubspot ?

---

<div class="post-metadata">

**Author:** ![AJLaPorte\_diagr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ajlaporte_diagr/32/24548_2.png) [@AJLaPorte\_diagr](https://community.hubspot.com/u/AJLaPorte_diagr)\
**Post date:** [April 18, 2018, 10:17pm UTC](https://community.hubspot.com/t/adding-two-main-menu/8533/2 "2018-04-18T22:17:37Z")

</div>

You can try using a custom module to place the menu where you want and then using variables found inside the “[Developer Info](https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages)” from the sprocket dropdown you can probably do something like this using the variable and then the [menu module HubL](https://designers.hubspot.com/docs/hubl/hubl-supported-tags#menu)

```auto
{% if request.someVar == 'english' %}
 {% menu "my_menu" id=456, site_map_name='Default', overrideable=False, root_type='site_root', flyouts='true', max_levels='2', flow='horizontal', label='Advanced Menu' %}

{% else %}

 {% menu "my_OtherMenu" id=457, site_map_name='MenuTwo', overrideable=False, root_type='site_root', flyouts='true', max_levels='2', flow='horizontal', label='Advanced Menu' %}

{% endif %}

```

Hopefully, this helps point you in the right direction.

-AJ

---

<div class="post-metadata">

**Author:** ![ujjwalbhujel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ujjwalbhujel/32/98997_2.png) [@ujjwalbhujel](https://community.hubspot.com/u/ujjwalbhujel)\
**Post date:** [April 20, 2018, 12:37am UTC](https://community.hubspot.com/t/adding-two-main-menu/8533/3 "2018-04-20T00:37:32Z")

</div>

Hi AJLaPorte,

Thanks for the tips, It was helpful, However I needed two sets of navigation under same domain for two seperate versions (.com & .com/xx) of website, without making it smart. I just made another template and called the second main nav for the second version of website in new template.

The tips however will be useful for me in near future.

---

<div class="post-metadata">

**Author:** ![athman8](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/athman8/32/22307_2.png) [@athman8](https://community.hubspot.com/u/athman8)\
**Post date:** [April 19, 2018, 10:39am UTC](https://community.hubspot.com/t/adding-two-main-menu/8533/4 "2018-04-19T10:39:29Z")

</div>

i have two homepage (dont ask me why long story) one has a different menu. So the header menu is differnet in the second homepage. basically my question is how can i have two primary menu which each are assigned to different pages?
