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.

🎃 🎃

⚡ HALLOWEEN FLASH SALE! Save up to 40% OFF  Claim Your Treats ➔

🎃 Wait! Your Halloween Savings Are Still Here!

You're about to miss our biggest sale of the year. Save up to 40% and secure unlimited site licenses before the Halloween sale ends.

×