How to link a menu item go to a specific section of a page?
How to link a menu custom link go to a specific section of a page?
Like having the "contact us" menu link to a section of a page, for a one-page website.
Thanks.
-
Hello,
Thank you for contacting us.
If you need to add the anchor links in the WordPress menu you should follow the below steps:
1 - Go to the block(s) and add the Block name https://jmp.sh/rlyRzrv
2 - Update the page and go to the Appearance - Menus and select the menu you use;
3 - Add Custom links;
4 - In the URL, add the link of the page then "/#" and then add the Block name (e.g. www.site.com/page2/#custom_block).
If you design a landing page or all blocks you want to link are placed on the same page where is added the menu, in the "URL", you can add only "#" then the Block name (e.g. #custom_block);
5 - Save the menu.
Also, for more information please see those video: https://www.youtube.com/watch?v=a3PuLxufI0c
Best regards, Nelea.
0 -
Thank you very much, Nelea.
Works like a dream!
0
Please sign in to leave a comment.
Comments
2 comments