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

Solved Can you hide hamburger menu after click ?

Discussion in 'Free Divi Community Forum' started by Nikolay Nonov, Apr 24, 2020.

  1. Nikolay Nonov

    Nikolay Nonov New Member

    Hello all,

    Is it possible to hide hamburger menu after it has been clicked ?

    Currently after hamburger icon is clicked, pop up menu shows up with "X" in the backgrond and i can close it from there. However hamburger menu stays on top and is also clickable wich messes up the pop up menu.
    My goal to hide hamburger after it has been clicked and reveal it again after pop up menu has been closed.

    Link can be found here https://www.mycoffee.bg/iperesoresso-капсули/

    Thank you in advance kind people !
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. Nikolay Nonov

    Nikolay Nonov New Member

    Thank you very much, the provided code did hide hamburger menu and achieved what i wanted.
    However i observe some strange behaiviour.
    If you click hamburger menu first time and close it from the toggle of the popup menu it works as intended. But if you click it for second or third time the background appears as solid darkred.

    I think this is default theme style color but i dont see it the styles that apply to the menu via the inspector tool.

    Do you have any idea what may cause this behaviour. Thank you for your help and support. You rock !
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    For your custom CSS on the menu, try to remove .et_pb_fullscreen_menu_animated

    For example, change this:
    .et_slide_in_menu_container.et_pb_fullscreen_menu_opened.et_pb_fullscreen_menu_animated ul#mobile_menu_slide li

    into this:
    .et_slide_in_menu_container.et_pb_fullscreen_menu_opened ul#mobile_menu_slide li
     
  5. Nikolay Nonov

    Nikolay Nonov New Member

    You are superstar. Worked like a charm and can`t be more thankful.

    P.S:
    Sorry for being a jerk and leaving without answer. I got so hyped that i can move on with the project that i completly forgot to show my appreciation
     
    1. PRO MEMBER PERKS Divi.Help Layout AI Generator - Try the power of AI to generate a custom Divi layout for you:Try Now