Can't use Prerender on Custom Code?

Facing an issue that comes from using custom code to fetch bits and parts from different parts of the website I’m building.
The issue is that I’m using anchor links in my main navigation that points to various sections of the page where Custom Code is used. Basically, because the code doesn’t render before the link is clicked, it throws off the anchor. Someone suggested I use the Prerender option on the links, which would be perfect, except it doesn’t actually Prerender the code.
I know it’s kind of specific, but I am hoping I can find help here, because, communities rock.


Here is my read-only : Webflow - Roland Michon
To experience the site properly, you’ll need to go on the published version, because, custom code : Évènements