Jump to page anchor from any page
-
Dear all,
I’m currently working on a single page website, where custom links in the nav menu jump to anchors on the page. So basically the whole aktion takes place on this one page. However, I want to intregate a blog which proved difficult to realize so I decided to put it on a separate page, which 2 or 3 Blogposts on the “Front Page”. Problem with this is, that, once on the “Blog Page” the Links in the Navbar do not work anymore.
In the Backend’s Menu Configuration I add rhe link as:
which works fine and outputs:
https://www.exaample.com/#/service
Now on the Blogwebsite it appends it to the category, e.g.
`https://www.example.com/hello-world/#/service′
so what I’d need would be inserting the link in the Menu Config such as:
https://<?php echo site_url() ?>/#service
which unfortunately doesn’t work.
Then I found an approach tweaking the menu here:
Topic: Jump to page anchor, Page 2But didn’t do the trick for me.
Any suggestions are greatly appreciated!
- The topic ‘Jump to page anchor from any page’ is closed to new replies.