-
Notifications
You must be signed in to change notification settings - Fork 1
Customizing Menu Behavior
James edited this page Apr 14, 2024
·
2 revisions
newtralize provides a few base navigation menu types you can build off from. You can also create your own from scratch.
You can choose the base menu type in the Layout Settings.
If you set the base menu type to "Custom", you will need to create 2 files so you can begin defining your custom menu type.
/css/nav/custom.css/js/nav/custom.js
These files will automatically be included by the template, and you can use these to define the styles and behavior of your custom menu type.
You can access the value of the Nav Lifecycle Time setting in CSS with the --_nav-time variable, and in JavaScript with newtralizeData['nav_time'].