🔗 Close button for Off Canvas Widget (Duplicate of #27474) #27992
Replies: 2 comments
-
You can use any element with a Link field to close the Off-Canvas. In the link field select the Dynamic Tag > Off-Canvas, and choose the option to "Close". Then you can position it anywhere inside the Off-Canvas. Here's an example: Elementor.Debug.-.21.August.2024.mp4In this case I used an Icon widget, and changed its position to Absolute, aligned to the Top Right corner. You can learn more about how to use the Dynamic Tags to control the Off-Canvas widget in this article: |
Beta Was this translation helpful? Give feedback.
-
Hello there! Thank you for your submission! 🙏 🔗 🚀 There is already a similar request submitted by someone here #27474Feel free to continue the conversation and cast your ⬆️ Upvote there! 👉 🔍 Please, in the future, remember to check if there isn't any thread similar to yours already opened.Kind regards |
Beta Was this translation helpful? Give feedback.
-
Prerequisites
What problem is your feature request going to solve? Please describe..
On a narrow mobile screen, the off canvas can display over the whole screen and "clicking outside" is not possible.
Describe the solution you'd like.
A close button.
Describe alternatives you've considered.
I've tried to call the Elementor off canvas javascript with a custom javascript and an custom close button in the off canvas content, but it works only once. The off canvas div gets a style style=display:none; assigned when I close it with my custom close button. And that style stays so the off canvas can't be displayed again.
Additional context
No response
Agreement
Beta Was this translation helpful? Give feedback.
All reactions