Hello! I have a two-page website with a nav menu that includes links to sections on certain page. For example, Results section on the About page.
Ive been trying to figure out how to have the Current state only activated one at a time rather then, for example, the about + results link both in the current state while in the results section.
I’ve exhausted my knowledge and would really appreciate the help
The problem is that your about link is linked directly to the homepage, which is current-state when you’re on the homepage.
This is different from e.g. your results link which is linked to the results section on the homepage, and is therefore current-state only when that section is in-view.
You’ll want to adjust your about link so it works the same way.