Title: Toggle sidebar with Elementor button
Last modified: December 16, 2020

---

# Toggle sidebar with Elementor button

 *  Resolved [prabasol](https://wordpress.org/support/users/prabasol/)
 * (@prabasol)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/toggle-sidebar-with-elementor-button/)
 * So far plugin works like a charm. The only thing I need is the ability to toggle
   sidebar on and off with an Elementor (or basically any custom) button. Is it 
   possible? Perhaps I am missing something.
    -  This topic was modified 5 years, 5 months ago by [prabasol](https://wordpress.org/support/users/prabasol/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/toggle-sidebar-with-elementor-button/#post-13798478)
 * Hello [@prabasol](https://wordpress.org/support/users/prabasol/)
 * You could use custom classes to add triggers to other elements.
    Example: `.ocs-
   toggle-SIDEBAR_ID` See the sidebar settings for the classes you could use.
 * Cheers, Jory

Viewing 1 replies (of 1 total)

The topic ‘Toggle sidebar with Elementor button’ is closed to new replies.

 * ![](https://ps.w.org/off-canvas-sidebars/assets/icon-256x256.png?rev=1474678)
 * [Off-Canvas Sidebars & Menus (Slidebars)](https://wordpress.org/plugins/off-canvas-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/off-canvas-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/off-canvas-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/off-canvas-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/off-canvas-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/off-canvas-sidebars/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/toggle-sidebar-with-elementor-button/#post-13798478)
 * Status: resolved