This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SV Close Modal on Click Outside for Navigation Block


The modal for the mobile menu of the navigation block is closed by default only when the burger icon is clicked. This single-purpose-plugin adds a small Javascript snippet to the functionality so that the modal also closes when an area outside the menu is clicked.


We are a WordPress agency specialized to PageSpeed 100, so this plugin provides:

  • no bloat: single purpose plugin just doing it’s job
  • no bloat: loads frontend script only, when navigation block is in use on a page
  • no bloat: ~500 Bytes Minified Vanilla JS (no jQuery!)


Missing a feature?

Please use the plugin support forum here on We will add your wish – if achievable – on our todo list. Please note that we can not give any time estimate for that list or any feature request.

Paid Services

Nevertheless, feel free to contact our WordPress Agency if you have any of the following needs:

  • get a customization
  • get a feature rapidly / on time
  • get a custom WordPress plugin or theme developed to exactly fit your needs.


This plugin is build to work out-of-the-box. Installation is quite simple.

  1. Upload plugin-directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You are using a caching plugin? Don’t forget to flush caches now.


There are no reviews for this plugin.

Contributors & Developers

“SV Close Modal on Click Outside for Navigation Block” is open source software. The following people have contributed to this plugin.




  • fix: aria-hidden support


Initial Release