Anchor links lead to wrong positions on first load

Hi, people!

I´m having a problem with anchor-links in my sticky nav bar leading to the wrong position - that is, quite a bit above the sections they´re is supposed to go to. It only happens the first time after loading the webpage, after that they work as they are supposed to. Also, the problem only applies to some of the anchor-links (ex. “Kontakt” or “Opslagstavle”).

I´ve tried all sorts of stuff including forcing some of the heavier images to load with the page, can´t get it to work properly. As a webflow newbie I would be so glad to get any help with this - thx!

Webpage:
https://preview.webflow.com/preview/sankt-nicolai-klinikken?utm_medium=preview_link&utm_source=designer&utm_content=sankt-nicolai-klinikken&preview=1cc9be1d0606e4d211a3a35ea0831beb&workflow=preview

Christian, DK

Hi @Christian_Mose-Chris ,

Welcome to the forum!

I’d definitely recommend compressing those larger images (the flower, the rocks and the window) - you can use https://tinyjpg.com/ and the reupload/replace.

That’s a good place to start, setting the images to load: eager - Would you also be able to send through the published site for testing? I’m unable to replicate on the Desginer.

Thanks!

Hi Milan,

great - thanks for your reply! I´ll try what you suggest right away.

Here is the published site:
https://sankt-nicolai-klinikken.webflow.io/

I really appreciate your help!

Kind regards Chr

Hurray! your suggestion did the trick, as far as I can see it works fine now!
Thanks a lot!
Kind regards Chr

and I´ll donate to MSF right away… (in that business myself, too)