Create Off-canvas with Elementor

Off-Canvas for Elementor is a new component that will allow you to create unlimited content blocks that you will display in a panel.
In this tutorial you will learn how to select and implement the type of content you want to display in the sidebar, the choice of the trigger and the set of styles applicable to the component.

Accessibility for off-canvas widget

Using Off-canvas widget

Elementor plugin is installed and active.
EAC components plugin is installed and active.
From the settings panel you have to drag & drop the Off-canvas icon on the panel preview.

Off-canvas icon

Select and display the content

The Off-canvas can be closed with the escape key, a click on the overlay or on the cross visible in the upper space of the sidebar.

You can choose only one type of content for each sidebar.
Display them in one of the five positions and activate / deactivate an overlay.

The first option is Relative to the trigger position and the Off-canvas content is positioned below the trigger.
The Shortcode content type naturally accepts shortcodes of all kinds.
Menu Display one of the menus in your WordPress environment and define the number of levels to be displayed.
Custom text Display customized content in the WYSIWYG widget.
Elementor template: display the contents of a previously saved template.
With the Widget content type, you can choose several widgets from the WordPress standard and the widgets contained in the content sidebars you created

Off-canvas settings position
Select content type

Select trigger and add attributes

You can trigger the opening of the sidebar with a button or free text.
The button can be sticky for the positions Left or Right, it is fixed on the right / left side of the visual space.
Align and add a pictogram before / after the button caption

Off-canvas trigger button
Select trigger type

Styling content and triggers

By default, if you have selected the Relative, Top or Bottom position you can let the system calculate the height (Default) or you can define a height. For Left or Right positions, you can define the width of the container.

You can change the background color and add an image on the background. and apply a fusion mode.

Text, Menu and Widget content have their own style sections as well as for triggers

Off-canvas style width
Select the width or the height of the container
Off-canvas style elements
Stylizing the different elements of the container

Leave a Comment