I’m trying to fid a way to have a full bleed site that has an arrow at the top and bottom that moves to the next or previous section.
I have disabled scrolling by turning off overflow in body and set the Sections to 100 vh
I know I can add up and down arrows in each section then anchor link to each section manually. Thing is, I have over 30 sections and if I hard code every up and down button it makes changes impossible, also when the page scrolls I’d love it if the buttons stayed it place (i have them set to fixed on page so the button stays and the section scrolls underneath)
I can’t seem to find a way to have it scroll next/previous. Does anyone know of a custom code, or attribute or something I can apply that essentially does a
take current section and +1
or
take current section and -1
I’ve tried every workaround I could think of but have had no luck so I signed up for the forums.
You should maybe consider using fullpage.js. It’s a slightly different experience but the result is almost the same and you don’t hack your Body element too much.