My header navigation consists of 4 different nav-links and a button (irrelevant). All of them are inside the “navigation (nestable)” block. The 4 nav-links are:
- Homepage
- Portfolio
- About me (links to section on homepage)
- Contact (links to section on homepage)
Inside the navigation (nestable) block, I set the active color of my links to yellow (black otherwise) and now the color of my anchor links as well as the color of my homepage link are all yellow if I am on my homepage. I get that this is technically correct because all of these link link either to my homepage or to a section on my homepage (which is also on my homepage). But I don’t like that the anchor links are also “active”.
I want that only my “homepage” link is active (yellow) if I am on my homepage and not the anchor links as well. How can I achieve that?
Thank you in advance!