Scroll to bottom

hi there,

i know there is the option to scroll to top with #x-root
is there a way i can scroll to the footer also?
i have a menu link that scrolls now to a “fake container” with id: #kontakt (singlepage setup)
but now my problem is that the container is ntot big enaigh (height) that the menu link(kontakt) has the active state.
so i wanna try to scroll to footer and i hope that the menu link is in active state then?

credentials in secure note

thanks in advance

Hello Harald,

Thanks for writing in! To get your issue resolve, simply edit your footer and in one of your footer bar, click it and find the “Customize” tab. Insert footer in the ID field. Now, go back to Appearance> Menus and edit your menu by replacing the href of “Kontakt” menu item from “#kontakt” to “#footer”.

Feel free to use other ID name if necessary. Hope this helps.

hi,

i did that allready, but when you check the site, you see the problem: in the navigation, the last menu link (kontakt) does not get the active state. so the background of kontakt is white (it should be black) and the menu “believes” it is one section above, and this menu link is black (should be white)
dont know how to describe it better…

Hi Harald,

We understand the issue, regretfully the only way you can highlight that last item (kontakt) is if your footer reaches the top screen (which is not a common setup).

Even if we force it with javascript, the ScrollSpy will still highlight the second to the last item (firmenevents) since it still touches or overlaps with its respective section.

Its either you leave it that way or have your footer 100vh height (which will kind of thrown off your footer design).

Thank you for understanding,

hi friech,

thank you for your answer. hm a 100vh footer is not possible. will try to fix it in another way… hope this works

cheers

Thought so, hope you figure things out,

Have a nice day,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.