Title: Divi Mobile Menu
Last modified: August 30, 2016

---

# Divi Mobile Menu

 *  Resolved [reidbusi](https://wordpress.org/support/users/reidbusi/)
 * (@reidbusi)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/divi-mobile-menu/)
 * Hi, I have some popups such as login and newsletter subscription forms on the
   secondary menu in the Divi theme header, and they work fine in the full size 
   menu, but do not appear to work on the menu items cloned to the mobile menu.
 * Any ideas on how to get them working on the Divi Mobile Menu?
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/divi-mobile-menu/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/divi-mobile-menu/page/2/?output_format=md)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249094)
 * [@reidbusi](https://wordpress.org/support/users/reidbusi/) – Generally this is
   because the mobile menu is created with JS simply mimicking the full menu without
   the classes. In which case you would need to look at the HTML of the mobile menu
   and use the Custom Selectors option under Click Open Settings.
 * In that field you can use any CSS selector string that would apply to that menu
   item.
 *  Thread Starter [reidbusi](https://wordpress.org/support/users/reidbusi/)
 * (@reidbusi)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249183)
 * That is what one would expect, however, it uses jquery clone (which should bring
   the event listeners as well) but…
 * Divi/js/custom.js:2420
 *     ```
       $this_menu.on( 'click', 'a', function(event){
       		event.stopPropagation();
       	} );
       ```
   
 * Their menu code overrides the popup listeners.
 * So fo now what I did was modify their js to not copy the seconday menu to the
   main mobile menu and added some custom css to not hide the secondary menu at 
   the mobile media query breakpoints.
 * Thanks for the reply though!
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249199)
 * [@reidbusi](https://wordpress.org/support/users/reidbusi/) – So custom selectors
   didn’t work either then. Glad you found a solution and got it working.
 * Please take a moment to [rate and review the plugin](https://wordpress.org/support/view/plugin-reviews/popup-maker)
   and or support.
 *  [jmargel](https://wordpress.org/support/users/jmargel/)
 * (@jmargel)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249358)
 * Could you tell me what you did to resolve this? I am having this issue, but on
   the primary menu.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249359)
 * [@jmargel](https://wordpress.org/support/users/jmargel/) – He basically had to
   change the way the mobile menu worked. Unfortunately nearly all of the current
   solutions involve some type of tweak to the theme. They are stopping other JS
   from using the click on mobile menu items by default.
 *  [jmargel](https://wordpress.org/support/users/jmargel/)
 * (@jmargel)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249360)
 * Ok thanks. I contacted the theme author but they said it’s not their problem.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249362)
 * [@jmargel](https://wordpress.org/support/users/jmargel/) – Hmm, I don’t have 
   a copy of Divi to test with or look at code, will try and track it down.
 *  [jmargel](https://wordpress.org/support/users/jmargel/)
 * (@jmargel)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249363)
 * Thank you, much appreciated!
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249364)
 * [@jmargel](https://wordpress.org/support/users/jmargel/) – Did you see the post
   above with the code. That code is in the Divi theme JS and prevents any other
   click events from occuring. That event.stopPropogation() line keeps our popup
   triggers from working. You could try commenting it out, but that is the main 
   cause of the issue as far as I can tell.
 *  [rcam](https://wordpress.org/support/users/rcam/)
 * (@rcam)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249365)
 * I tried looking in the custom.js file and I do not see that code. Please help,
   I am also using the divi theme.
 *  [maximbrykin](https://wordpress.org/support/users/maximbrykin/)
 * (@maximbrykin)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249366)
 * I couldn’t find this code too. Please, help us…
 *  [maximbrykin](https://wordpress.org/support/users/maximbrykin/)
 * (@maximbrykin)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249367)
 * Popup maker don’t work on mobile menu Divi theme.
 *  [maximbrykin](https://wordpress.org/support/users/maximbrykin/)
 * (@maximbrykin)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249368)
 * It’s very important, because I have Book button only in main menu – so in mobile
   versions this button dont work. Help please
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249369)
 * [@maximbrykin](https://wordpress.org/support/users/maximbrykin/), [@rcam](https://wordpress.org/support/users/rcam/)–
   Unfortunately I do not have access to the Divi theme, but the problem is really
   in how they wrote their JS and we cannot do anything in our plugin that would
   compensate for that at this time. If I get a copy of the theme I can experiment,
   but the likeliest solution will be to get them to update the code in question
   which is out of my hands, even if I provide the solution I can’t say how long
   it would be before they add it officially. Sorry this isn’t the answer everyone
   wants to hear but I can’t control the code in other plugins/themes.
 *  [Rick Radko](https://wordpress.org/support/users/r3df/)
 * (@r3df)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/divi-mobile-menu/#post-6249370)
 * In a post about 2 weeks ago, one of the support members in the Divi forums indicated
   that they will be looking at removing the code that is causing the issue as they
   apparently don’t need it any more.
 * In meantime, if anyone is looking for a patch, I posted one on Github [https://github.com/r3df/r3df-popup-maker-divi-nav-fix](https://github.com/r3df/r3df-popup-maker-divi-nav-fix).
 * Rick

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/divi-mobile-menu/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/divi-mobile-menu/page/2/?output_format=md)

The topic ‘Divi Mobile Menu’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 17 replies
 * 7 participants
 * Last reply from: [Bioethic](https://wordpress.org/support/users/bioethic/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/divi-mobile-menu/page/2/#post-6249385)
 * Status: resolved