How can I add an item to the Main Menu and link it to an external source?

FAQ: How can I add an item to the Main Menu and link it to an external source?

1. Login to your PowaWEB site, go to Manage Website > Edit Website and add a new page with a name that reflects your desired menu item
2. Then switch to the Edit Page tab and place an HTML page section under the Main Menu page section
3. Open the HTML page section in edit mode and paste the following code:

<script type="text/javascript">
$(".mainMenu span:contains('main_menu_item_name')").parent().attr("href", "http://www.external-source.com/");
</script>

where main_menu_item_name is the name of the newly created page and http://www.external-source.com/ is the required URL
4. Save the changes
5. Click on the first icon (triangle) for the HTML page section, select 'Add Page Section to All Pages' from the context menu, specify the section name and save the changes

Note
If the newly created page isn't displayed in the Main Menu, please open the Main Menu page section in edit mode and ensure the check box near the page name is ticked. See Can I control what pages appear in the Main Menu? for more details.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.