How to have internal links for sections get redirected from another page
-
I’m trying to make a webstite and it’s going great, but I on one of my pages, it has multiple sections such as
about us
andcontact us
and I have internal links sorted to an extent where it does go to that section from another page, but all the drop down menu items are highlighted.What I did first was give the headers an id so for exampe
<h3 id="aboutus">
and in the menu item, I did#aboutus
which worked when I was on the page but not when I wasn’t, so I changed the menu item so that it included theurl
for that page which is nowwww.website.co.uk/about-us/#aboutus
which causes all the drop down menu items to get highlighted.How would I change what I have so that if I’m on, lets say, the home page and click on about us, it directs me to that section without the whole drop down menu being highlighted?
The menus and drop down menus are provided in a plugin in WordPress
- The topic ‘How to have internal links for sections get redirected from another page’ is closed to new replies.