One page navigation
-
Hello. This is my first post here so forgive me if something’s wrong (like category etc.)
So I have a one page template and everything works – if I click a link it just goes to a desired section on a page. Links are just made by adding
#go-to-this-section
(and of course some jQuery to prevent default behavior of link and add some scrolling).Now I’ve added a blog and it is an “external” link – it just goes to blog page. When I’m there I can’t go back to the first page. How can I make this work? I thought I could add some conditios like if it is on blog then it would add a full url to the one page before the
#go-to-this-section
but how do I do that?
- The topic ‘One page navigation’ is closed to new replies.