1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Auto hide mobile menu onfocusout or click out (desktop version)

Discussion in 'Free Divi Community Forum' started by Gustavo Sartori, Nov 12, 2020.

  1. Gustavo Sartori

    Gustavo Sartori New Member

    Hello everybody, how are you doing?

    I'm using Divi Menu Module and forcing it (using CSS) to assume the mobile 'hamburger' form in the desktop version.

    In this mode, the user must click on the hamburger button to see the menu options and click again to close it. What I need is that the menu automatically closes itself when the user clicks outside the menu and/or some milliseconds after the user's mouse cursor goes off of the menu area.

    I believe I could do it with js if I knew just a little of js, which is not the case... :D

    Can anyone help me with this issue?

    Thank you in advance.

    Best regards
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More