• I need to add some links in sidebar navigation, like for example check attached screenshot. I need to add “How are people using it” in sidebar, which on click the scroll occur in homepage and page goes to that portion, this is okay and easy task. But main problem is how to do the same when i am not on homepage, like when i am at blog page, i need to do the same. How can i do this?

    Hope i am clear with my question.

    Image link: https://oi42.tinypic.com/11ce8hs.jpg

Viewing 1 replies (of 1 total)
  • I am not sure how you’re doing it (plain link, yes? hard to tell without seeing real site setup) but I believe you would just code in the full link address (https://www.example.com#item) rather than the page-relative one (#item).

    It would require a refresh of the page when you ARE on the home page, though, so you may want to put page-relative links only on the home page.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding links to sidebar which has hash reference to homepage’ is closed to new replies.