Streaming live at 10am (PST)

[Resolved] "Current" state issue with anchor nav


#1

Hi Guys!

I have some weird issue with “current” state of nav link. It is not been displayed when I try to use in a anchor navigation. I do this in another project but now it is not working anymore. It’s a bug? Can you help me?

https://preview.webflow.com/preview/fernandos-exceptional-project?preview=927c4428a02d8e2b7210ea35c33f3286

http://fernandos-exceptional-project.webflow.io/


#2

Hi @douglasrpinho

Thanks for posting about this. I was also unable to select the current class for those anchor links. I have reported the issue to the team and we will investigate the issue.

I will post back here when I have more information.

​Thanks in advance for your patience.

A quick workaround would be to link that to the current page (like the home page) temporarily and then styling out the current state:


#5

Hi @douglasrpinho

After more investigation I found that this is a known issue where current class cannot be selected when anchor ID starts with a number.

Can you please rename your Section IDs to letters, one, two and three instead of numbers?

​Please let me know if this workaround solves the problem.


#6

Yeah!

It works now.

Thanks for your help!

:slight_smile:


#7

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.