How to point menu bar anchor to a header on one page, regardless of which page I click it from?

[ad_1]

(SOLVED) My anchor points correctly from the homepage, but if that same menu item is clicked from another page, say “testimonials”, then it’s looking for that section on the testimonials page. It should still be pointing to that section on the homepage. Any ideas?

[ad_2]
2 Comments
  1. It’s working now, yay! I just needed to put the #sectionname after my homepage url in the anchor. That didn’t seem to be working at first, but that was just because the cache wasn’t updating.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer