Does webflow.js interfere with # links?

I tried implementing this css-only show-hide solution on a Webflow site. However, this doesn’t seem to work on Webflow. What I have noticed, however, is that when the target is visible, clicking on a trigger results in scrolling to target.

Does this mean I cannot use the mentioned solution on Webflow? And, if not, what are simple alternatives?

Thanks.

You are right.

The “correct” way to do it in Webflow is use interactions. Do browse the help section to find out more about interactions.

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