WordPress Themes
Search for articles about the Audio Player and WordPress Theme

How to add a link in the menu that scrolls to a page section (Anchor)

Step 1 – Define the section where you want to scroll to in Elementor Editor.

In this example above, a CSS ID have been set and has been called ‘about’

Step 2 – Add a new menu item in your menu: Go to WP-Admin > Appearance > Menus.

Step 3 – Create a new ‘Custom Links’

Step 4 – In the URL field, add “/#” + your Anchor ID you previously set. So if your anchor is about, the url will be /#about

* If you need to point to an anchor which is on another page than your homepage, then you need to add the slug name in the url. Eg: /bio/#about

Updated on February 23, 2022
Was this article helpful?
Still Stuck?
How can we help?