I have made a one page website with their jump links using id attribute (#). These jump links are provided in the navigation bar (header navigation menu).

Now, we want to add another page, but the problem is that when we are on this new page, the anchors (jump links) of the first page don't work. The only solution is to click the home URL to return to the first page of the website.Is there any other solution?

  • add a slash before the # in the navigation links Commented Feb 24, 2017 at 13:04

2 Answers 2


You can use it like this http://wwww.yoursite.com/#anchor from another page.

  • Thank you very much for your fast response. I'm using the zerif lite(free) theme and my site URL is softaxe.com. In menus>display locations it is showing me this "Your theme supports one menu. Select which menu you would like to use." Kindly guide me if I can still use what you said.
    – zuak
    Commented Feb 24, 2017 at 11:20
  • Yes, you can use it, You need to add link as custom link Commented Feb 24, 2017 at 11:27
  • yes this completely works deepti I just need to make the new menu displayed on the new page with the anchors in the format you told me. Can we do this according to the problem discussed above. Thanks a lot for the great help you have provided me with.
    – zuak
    Commented Feb 24, 2017 at 11:28
  • Yes, You can do this. you need to add Menu. This tutorial may help you. Commented Feb 24, 2017 at 11:31
  • youtube.com/watch?v=3TkXaoMIzQ4 Commented Feb 24, 2017 at 11:31

You need to edit the navigation links – add a slash before the # in the navigation links like this: '/#jump1' instead of just '#jump1'

You will however have to use "Custom Links" instead of "Pages" to do this – see screenshot below:

enter image description here

…should do the trick… 

  • adding the slash worked for me thank you very much for your help. Stack overflow is great and you are great!
    – zuak
    Commented Feb 24, 2017 at 14:17
  • Thank you for your kind words! :) Please feel free to mark the answer as the correct answer and/or up-vote if you think the answer was helpful… Commented Feb 25, 2017 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.