Important! This documentation is old, and a lot has changed in HubSpot since we released Act version 1. If you are still using Act version 1 we recommend saving these pages for later reference. This documentation will be deleted soon.

How to add buttons in the Main Navigation

If you want to add buttons in the top navigation, you need to go to your Advanced Menus in Content Settings and look for the item you want to display as button. Wrap its name in a <div> for a filled button, or <span> for an empty button, like this:


Empty button:

<span>Get Started</span>

Act Theme - Main Navigation - Empty Button


Filled button:

<div>Get Started</div>

Act Theme - Main Navigation - Filled Button


Example:

Adding HTML tags in menu item name in HubSpot