Skip to content

Snippets Library: In-Line Side Navigation

 

What is a in-line side navigation?

An in-line side navigation is a page-specific tool that uses anchor tags to help users navigate text-heavy content. It moves down the page as the user scrolls, providing a visual cue of their current position. This type of navigation is ideal for long pages where breaking up content into separate sections wouldn’t meet user needs, such as legal or policy documents. It should not be used solely for aesthetic purposes.

Note: The in-line side navigation’s scrolling feature is limited to the section it is placed in. If content is located in a different section, the navigation will not scroll beyond its own section.

Creating a in-line side navigation

Step 1:

On the page you are editing, navigate to Page Parameters under the Gadgets sidebar.

gadgets sidebar

Step 2:

Under the section where the in-line side navigation will be located, change the Region Layout to Two Columns, 1/4 Left, 3/4 Right and save changes.

Region Layout dropdown with Two Columns - 1/4 Left, 3/4 Right selected

Step 3:

In the larger right column, add your content. Add anchor tags to core headings and subheadings. These anchor tags will coorelate to the options in the in-line side navigation.

Need help with anchor tags? View our anchor tags guide under our Beyond the Basics.

Step 4:

In the smaller left column, click on the Snippets icon in the WYSIWYG Toolbar.

Snippet option

Step 5:

Select v3-Sidenav and then click Insert.

In-line side navigation option

Step 6:

Edit each Nav Item Link or Nav Sub-Item Link with link text and corresponding anchor tag. Make sure to keep the order in the in-line side navigation the same as the content on the page.

Edit the Nav Heading to align with the purpose of the in-line side navigation. Some examples would be Table of Contents or On this Page. 

Default in-line side navigation

Step 7:

Click Save to view changes.

 

Adding and removing navigation items

To add navigation items, add items to the nav item or nav sub-item sections. Add the desired navigation text and make it a link pointing to the corresponding anchor tag.

Link icon in WYSIWYG

 

To remove navigation items, select the navigation item to be removed and select the Remove Link icon in the WYSIWYG toolbar. Remove the remaining link text and any leftover spacing.

Remove link icon

Last Updated: 10/16/24