"Current" state not activating with side nav anchor links

Hi everybody!

I’m making side nav bar with anchor links that go to corresponding sections, all within the same page. It works for the most part - hovering the links activates their hover state, and clicking on them brings me to the correct section of the page.

However, what I cannot seem to figure out is how to trigger the “current” state for the link to whatever section on currently on. For example, if I’m in the “research” section, I want the “research” link in my nav bar to be bold. I find it weird that this isn’t working, considering that all the links successfully bring me to their sections, but they won’t register that they’re in the “current” state.

Here’s my read only. Any help would be much appreciated!


Here is my site Read-Only: https://preview.webflow.com/preview/sarahs-portfolio-241354?utm_medium=preview_link&utm_source=designer&utm_content=sarahs-portfolio-241354&preview=caa937d4b8e1a137b70f770e0fbaada2&pageId=65d6255636589af1f104db57&workflow=preview

you need to add link like that

Screenshot from 2024-03-05 10-13-20

so you can get current state

image