Navigation

Updated at:
Copy as MD

Use navigation controls to build a clear page hierarchy and navigation paths for your website, which helps visitors efficiently find the information they need. This article guides you through selecting the right navigation type and configuring it, from basic setup to advanced styling.

Choose a navigation control type

Choose the navigation control that best fits your website's design and functional needs.

Control name

Description

Horizontal navigation

Displays navigation items horizontally at the top of the page or within a content area. This is the most common primary navigation pattern for desktop websites.

Vertical navigation

Displays navigation items vertically on the side of a page. This works well when you need to display many items or levels, such as a sidebar in an admin dashboard or a table of contents for product documentation.

Breadcrumbs

Shows the visitor's current location on the site as a path, helping them understand the page hierarchy and navigate back level by level. This is common on content detail pages, e-commerce product pages, and other pages with multiple category levels.

Language switcher

Provides an entry point for switching languages on multilingual websites. It is typically placed in the global header or footer.

Mobile/PC switcher

Allows visitors to manually switch between the mobile and PC views of the website. It is suitable for scenarios where there are significant design differences between the PC and mobile versions, letting you offer users a choice.

Basic operations

Add navigation control

  1. In the left sidebar of the designer, click Design > Navigation.

  2. Select the navigation control you need from the list.

  3. Click the desired location on the page to add the control.

Adjust position and size

  1. Select the navigation control.

  2. On the control's floating toolbar, click Arrange.

  3. In the Position and Size settings, adjust the control's coordinates, width, and height.

    The navigation container (Style 1) in horizontal navigation is fixed to the top of the page by default, so its Position cannot be adjusted.

Delete navigation control

  1. Select the navigation control.

  2. On the control's floating toolbar, click the image icon. This action also deletes all its associated navigation item configurations and cannot be undone. Proceed with caution.

Configure navigation items and hierarchy

Manage the items, link behaviors, and hierarchical structure displayed in the navigation menu.

Add and edit navigation items

  1. Select the navigation control.

  2. On the control's floating toolbar, click Edit.

  3. Click the Add Navigation button, or click an existing navigation item to start configuring it.

    • Navigation Name: The label displayed to visitors.

    • Parent Navigation: Select an existing navigation item as its parent to create a second-level navigation item.

    • Navigation Link: The destination URL for the navigation item.

    • Open In: Choose whether the link opens in the current or a new window.

    • Icon Settings: Add an icon to the navigation item.

Create second-level navigation

Create a hierarchical drop-down menu using one of the following methods:

Method 1: Specify in the settings panel

When adding or editing a navigation item, select an existing first-level navigation item from the Parent Navigation drop-down list to set it as a child item.

Method 2: Drag and drop in the list

On the Edit tab, drag a navigation item to the right and drop it under another item to make it a second-level navigation item.

Third-level navigation

The navigation control supports up to two levels of navigation. To set up a third-level navigation, you can combine a tab control with a navigation control.

  1. Add a tab control: Click Design > Layout, select Tab layout, and add it to the page.

  2. Use the tab control as the first-level navigation. Drag a navigation control into the tab control to serve as the second-level navigation.

  3. Within the second-level navigation control, create third-level items by setting their parent navigation. To do so, select the control, click the Edit tab, and use the Add Navigation or Batch Add Navigation buttons in the panel that opens. The three-level structure is displayed using indentation; for example, a 'third-level navigation' sub-item appears indented under 'Home'.

Reorder navigation items

  1. Select the navigation control.

  2. On the control's floating toolbar, click Edit.

  3. In the navigation item list, hover over the image icon next to the navigation item name, then drag it up or down to reorder it.

Customize styles and interactions

Customize navigation item styles

You can customize the appearance of navigation items for different interaction states to provide clear visual feedback.

  1. Select the navigation control.

  2. On the control's floating toolbar, click Style.

  3. Set the styles (such as color, font, and background) for the navigation item in the following three states:

    • Normal: The default display style.

    • Hover: The style when the cursor hovers over the navigation item.

    • Selected: The active style for the navigation item corresponding to the current page.

Configure navigation container

The navigation container, listed as the first style option for horizontal navigation, allows for highly customized designs.

Note

By default, this control is used as the top navigation for the page. Its position is fixed and cannot be changed.

  • Style: Configure the style of the navigation container for the following states:

    • Normal: The default display style.

    • Scrolled: The style when the page is scrolled down.

    • Hover: The style when the cursor hovers over the container.

    • Selected: The active style when a navigation item is selected.

  • Edit: Configure the content of the navigation container:

    • Image Settings: Set the logo image for the normal and scrolled states, the tooltip text on hover, the redirect link, and how the link opens.

    • Navigation settings: Add navigation items and set their parent navigation, navigation link, opening method, and icon.

  • Animation: Set an entrance or hover animation for the navigation control.

  • Arrange: Set the size of the navigation container.

Add animation

Add an entrance or hover animation to the navigation control to enhance the page's visual experience.

  1. Select the navigation control.

  2. On the control's floating toolbar, click Animation.

  3. Add an entrance or hover animation to the control.