Anchor link doesn't work

Hello, I use the css snap for scrolling (in the home file) and I want to link a snap (a section) with anchor in the top menu. I put the ID on the section “chi-sono” and the link to “Chi sono” item href with #chi-sono but it doesn’t work.

I think that is a Webflow problem because in codesandobox works perfectly :frowning:

Can you help me please?
Thank you so much.

Marco


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi @MarcoMariella,

Welcome to the forum!

I believe it’s because your section is nested within ‘scroll-snap-wrapper’ - if you pull the chi-sono section outside of ‘scroll-snap-wrapper’ it should work.

You’ll need to make sure that the section is only nested within body tag.

Hope this helps!