2

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?

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

2 Answers 2

0

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

6
  • 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
    Feb 24, 2017 at 11:20
  • Yes, you can use it, You need to add link as custom link 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
    Feb 24, 2017 at 11:28
  • Yes, You can do this. you need to add Menu. This tutorial may help you. Feb 24, 2017 at 11:31
  • youtube.com/watch?v=3TkXaoMIzQ4 Feb 24, 2017 at 11:31
1

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… 

2
  • adding the slash worked for me thank you very much for your help. Stack overflow is great and you are great!
    – zuak
    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… Feb 25, 2017 at 11:24

Your Answer

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

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