Hello,
Apologies for the Inconveniences caused!
The Codes you are using are incorrect for the One Page Menus. Consider using the following replacing the old codes:
<ul class="one-page-menu menu-container">
<li class="menu-item current"><a class="menu-link" href="#top" data-href="#top"><div>Home</div></a></li>
<li class="menu-item"><a class="menu-link" href="#tipologie" data-href="#tipologie"><div>Tipologie</div></a></li>
<li class="menu-item"><a class="menu-link" href="#foto" data-href="#foto"><div>Galleria fotografica</div></a></li>
<li class="menu-item"><a class="menu-link" href="#contatti" data-href="#contatti"><div>Posizione</div></a></li>
<li class="menu-item"><a class="menu-link" href="#contatti" data-href="#contatti"><div>Contatti</div></a></li>
</ul>
The Offset will set automatically based on the Sticky Menu Position or you can also define your Custom Offsets using:
<ul class="one-page-menu menu-container" data-offset="80">
or Individually for the Menu Items:
<li class="menu-item"><a class="menu-link" href="#tipologie" data-href="#tipologie" data-offset="100"><div>Tipologie</div></a></li>
Using the Above Codes should also close the Menus on Scroll on Mobile Devices. Consider check the Live Previews here: https://canvastemplate.com/op-index.html .
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.