I created an Elementor website using fullPage.js (This is the website: https://dev-testing-hp.pantheonsite.io/?page_id=18). I followed this tutorial (https://www.youtube.com/watch?v=CDTsVrajj-Y&t=490s&ab_channel=webnaturesolutions) and created a template for each section. Now I want to create a menu and tried it with adding a CSS ID to each section, but when I then click the menu, it directly jumps to the section, but without scrolling down. So when the user clicks on "Über mich" it jumps to "über mich". So far so good, but the problem is that when the user than wants to scroll up, it isn't possible any more since the menu points at the right still think it's the first page.
I hope you understand my problem, if not, just look at my page and try it by youself. Hopfully you have a solution for this problem. Thanks!
This is the code I put in the HTML at the Elementor main page:
<div id="fullpage">
<div class="section">[INSERT_ELEMENTOR id="325"]</div>
<div class="section">[INSERT_ELEMENTOR id="30"]</div>
<div class="section">[INSERT_ELEMENTOR id="180"]</div>
<div class="section">[INSERT_ELEMENTOR id="194"]</div>
<div class="section">[INSERT_ELEMENTOR id="206"]</div>
<div class="section">[INSERT_ELEMENTOR id="379"]</div>
<div class="section">[INSERT_ELEMENTOR id="278"]</div>
<div class="section">[INSERT_ELEMENTOR id="429"]</div>
</div>
This is the HTML I added with an HTML, JS, CSS plugin:
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.0.4/fullpage.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.0.4/fullpage.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.0.4/fullpage.extensions.min.js"></script>
And this is the JS which I added with the same plugin:
jQuery(document).ready(function($) {
$('#fullpage').fullpage({
//options here
scrollingSpeed: 1000,
navigation: true,
slidesNavigation: true,
responsive: 800,
});
//methods
$.fn.fullpage.setAllowScrolling(true);
});