Off-Canvas menu
Last updated
Last updated
© Astroid Framework 2023.
Go to Extensions > Modules > New. Create a New module of the type Menu.
Add the module title and select the menu that you would like to display via this module.
You can select a base menu item that’ll always be active, but if you choose the default value that is Current then the active menu item will be highlighted at all times.
Set the Start and End level of the off-canvas menu module.
You can also choose whether you want to show the sub-menu items or not.
After settings, all the required fields set the module position to offcanvas.
Set the module status as Published.
Lastly, confirm the module assignment under the Menu Assignment tab where all the modules will be published and you are done.
Astroid's backend has all the other options to style the off-canvas menu module. But this option will only be visible if you have the Header element enabled, and currently, it is only available for Horizontal and stacked Header modes.
Off-Canvas menu: Choose whether you want to display the off-canvas menu or not. If yes then the following options will be visible:
Toggle Visibility: Choose on which devices will the off-canvas menu be visible that is on All devices, Only on extra small devices, Up to Small devices, Up to medium devices, Up to Large devices or only on extra large devices. By default, it's set to All devices.
Panel Width: Set the size of the off-canvas menu either in px or em or rem.
Off-Canvas Animation: Select how you want the off-canvas menu to open which is either Slide on Top, Push or Reveal animations.
Off-Canvas Direction: You can choose between Left and Right for the position from where you want to open the Off-Canvas menu.