Ok I have successfully added the full page.js code but when I have tried to add the code that disables it from mobile devices it doesn’t work.
I have followed the steps from a previous help topic but with no luck so I am after a code ninja to help me set this up step by step so that I can use the full page.js on the homepage but then change to scroll on a mobile device.
Hey not sure if you know a way of adding in the side navigation dots. I have everything working fine but I just need the dots to make the user experience more intuitive as at the moment I have had to use scroll down text but I would prefer not to use it on each section.
To enable the nav dots you just need to add a couple of lines of javascript to the custom footer code & give each of the sections their own ID.
I’ve updated my example linked in the comments above so you can see how its done.
If you go into the custom footer code section in the page itself, you can also change the hover-over labels for each nav dot. Just change the titles in the “navigationTooltips” section (currently set to “First”, “Second”, “Third”)
Ok it’s almost there. Really grateful for your help on this.
If you can have a look at the site from the backend and on the published version I have some issues when scrolling up and down with it skipping sections.
Ok just had a look…i’m not 100% sure what the issue is but I can hazard a guess based on what I can see.
What i’d do is duplicate your site (so you have an unedited version) and try setting your section positions to “Auto” rathen than “Relative”, and do the same for your inner sections. Remove an padding, positioning etc you’ve done to make things vertically centered in their sections. Although it doesn’t look like it in the Webflow designer view, FullPage actually centered everything vertically in each section by default.
A few of your internal containers are also set to absolute position which might be contributing to the script not being able to find the correct section to scroll to. Again, presuming you’ve done this to center your contents within each section…just switch these to “Auto” and let FullPage handle it
It’s something to do with the secondPage - I have created in the same links exactly what you had yet it’s not moving to the secondPage correctly. Sorry to be a pain
Just had a second look - there’s nothing wrong with the code or the way you’ve arranged your sections. Very confusing.
The only thing I can think of is that the size of your page is affecting performance somehow. Ran your main page through Google PageSpeed and Pingdom: you page size 12mb which is pretty big. It’ll probably crash browsers on older machines/mobile devices.
Sorry I can’t be more helpful here - might be one to raise
I’ve just tried this on a completely blank site using the exact code and it’s still doing the same problem so I’m not sure how your version is working perfectly and this isn’t