Redirect Blank Menu Pages
How to redirect blank pages as a result of selecting a navigation menu header
This code helps alleviate a current Knack bug that causes a menu to direct you to a blank page that is not editable in the builder. (No longer a bug as of May 2021)
The JS
We create a handler that renders on a specified page scene and redirects the page to the specified url (our first top level page in the menu)
The CSS
None needed 😎
How to Implement
Adjust the Scene ID
and the URL
Do this redirect for each navigation menu that has child level pages
Last updated