Why is my preview so different to the published site?

Hi, i am new to Webflow and have a problem… I designed my Website so that it looks good or at least like this what i wanted to achive, but then the published version looks different. Why is my Navbar not moving with the Site? its fixed!?

Here is my site Read-Only: Webflow - Antermont
this is the published link: https://antermont.webflow.io/

The answer to this question is almost always custom code.

Since the Webflow designer does not render custom code, only published sites do, you will have situations like this.

Also - I noticed you’re using luxy for smooth scrolling.

Luxy tends to break anything that is not static position, so I would recommend replacing it with Lenis!

Here’s a really great resource for implementing lenis in Webflow