If you want to associate tour steps (especially pointers) with specific elements on your site, you need to link the specific step to selectors of these elements
Element SelectorSelectors are used to "find" the HTML elements on your site. To find out the selector of a specific page element is not hard. Just follow these instructions:
1. In your browser (ideally in Google Chrome or Firefox) navigate to the specific weg page where the tour step should be linked to page element.
We will use our demo site as an example. Let's say that we want to associate the tour step with the first picture on this page (the picture of London, top-left).
2. Right-click on the element you want to find a selector for and choose the "Inspect" option.
3. The inspector panel will appear with the highlighted element. It should look similar to the picture below:
When you hover with mouse cursor over the blue like in the inspector panel, your element is highlighted on the page. If you changed your mind and want to select a different element, you can hover over other rows in the inspector panel to find the right one.
5. The element selector is copied to the clipboard. Now, return to Usetiful administration - paste the value from clipboard (CTRL + V) to the "Element" field in the configuration of given tour step.
When previewing the tour, we can now see the pointer displayed near the selected element.