Documentation

Steps

Configure individual tour steps

What is a Step?

A step is an individual highlight in your tour. Each step targets a specific element on your page and displays a tooltip with information about that element.

Step Properties

PropertyTypeDescription
TitlestringHeading displayed in the tooltip
ContentstringDescription or instructions
Target SelectorstringCSS selector for the target element
Positiontop | bottom | left | rightWhere the tooltip appears relative to the element

CSS Selectors

CSS selectors are used to target specific elements on your page. Here are common patterns:

#signup-btn
ID

Targets element with ID 'signup-btn'

.nav-menu
Class

Targets elements with class 'nav-menu'

[data-tour='welcome']
Attribute

Targets elements with specific data attribute

button.primary
Combined

Targets button elements with class 'primary'

Best Practices

Use ID selectors when possible

IDs are unique and provide the most reliable targeting.

Keep content concise

Each step should focus on one action or concept.

Avoid overly complex selectors

Complex selectors may break if your page structure changes.