A message box without a way to dismiss it can be frustrating for visitors who have already read it. The Message Box widget’s Close Button toggle adds a clickable icon that removes the box.
It is a Free widget of The Plus Addons for Elementor.
Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.
Before You Start
- Edition: Free.
- Add the Message Box widget to the page first.
How to Add a Close Button
| Step | What to do |
|---|---|
| 1 | Turn on the Close Button toggle in the Icon & Button section. |
| 2 | Use Select Icon to pick the close icon (or upload your own image). |
| 3 | Set Closing Animation Duration to control how fast the box closes – for example 500ms closes quickly, 2500ms closes more slowly. |

How It Behaves
We published a message box with the Close Button on and clicked it.
- Before the click, the message box’s full content (title, description, icon) is present.
- After clicking the close icon, the box’s content is genuinely removed from the page over the configured animation duration – this is a real dismiss, not just a visual fade with the content still sitting underneath.


Limitations
- Once closed, the box does not come back without reloading the page – there is no separate “reopen” control.
Clicking the icon does nothing
Confirm the toggle itself is on (not just an icon selected) – Close Button must be switched on for the click handler to attach.
Not verified
So you know exactly what has and has not been checked:
- Whether the removal is a DOM removal or a CSS-hide under the hood – we measured the rendered markup shrinking, which is what matters for the reader, but did not inspect the implementation further.