Loading...

Knowledge Base

How to Add a Menu Item in SuperSite

When you want to add an additional link to the navigation menu in SuperSite. This article explains how to add a menu item through SuperSite settings.

The SuperSite menu contains all the links to various products and services that you offer. However, if you wish to add or remove a menu item, you can do so by editing the following HTML file in the SuperSite Customization panel:

Dashboard » Manage Site » Edit/Translate Content Pages » Common » Header » Header.html
 

Note: You will need to switch to "Advanced Editing Mode" to be able to edit the HTML code.

The code for the navigation menu starts at line 14 and ends at line 480.

The menu is divided into various sections depending on the product type and identified by a tag. For example, the hosting menu is identified by tag:hostingsection (line 212).

Each menu section is built using the HTML Unordered List (starts with <ul>) tag and each menu item is added using the <li> tag.

If you want to add a new menu item on the main navigation bar, it must be added as a new <li> item after the previous section ends and before the next section begins.

For example, if you have added a custom page in your SuperSite and you want to add a link to that page on the menu, you can add the following code at line 475 (i.e. just before the menu ends):

<li class = "levelone"> <a href = "/content.php?action=mypages&page=mycustompage.html">My custom page</a> </li>
 

This will add a new item on the primary navigation menu which will look like this:

Testing Image

Note: In case the changes don't reflect on your SuperSite, then reload the cache by clicking on the "Reload Cache" button on the menu within your SuperSite Customization panel.