Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

⌘K
  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Off-Canvas Content
  6. How to close the Off-Canvas panel by clicking on any element?

How to close the Off-Canvas panel by clicking on any element?

There is a simple way to close the off-canvas panel by clicking on any element in the off-canvas content.

What you need to do is just add the following CSS class to the element:
pp-offcanvas-<node_id>-close

Here <node_id> should be replaced with the unique node ID of the module. You will find this ID in the Off-Canvas module settings.

🎃

SAVEBIG! Get up to 50% OFF this BFCM sale!  GRAB THE DEAL

×