Using Page scroll to id with Elementor Page Builder
In WordPress admin, go to Settings → Page scroll to id and make sure the Selector(s) option value is:
Scroll down to “Advanced options” section and enable (check) “Prevent other scripts from handling plugin’s links” option.
Click Save Changes.
Elementor Page Builder allows us to enter an id value for each element we want (via the CSS ID field). This is very handy as a)we don’t need to create our id targets manually and b)makes links highlighting easier and more precise.
Now, any link you create with URL
#some-id (or any id value you entered in the CSS ID field previously) will scroll smoothly to that target. You can create standard/plain links in the post editor, custom links in your menu, links via “Page scroll to id” shortcode etc. All kind of links will work as long as they point to an existing target id in your page(s).
Alternatively, you can use Elementor’s “Anchor” block/element to create id targets. Click the anchor element (Menu Anchor) and insert the id value you want in the “The ID of Menu Anchor” field.
In addition to the methods above, you can always use plugin’s shortcodes directly in builder’s text element(s) or by using Elementor’s “Shortcode” block/element.
Keep in mind that you can use “Page scroll to id” shortcodes to create targets and links.