Submenu not adding span with class dropdown-menu-toggle in mobile
-
In my theme when i view the moible menu there is span with class “dropdown-menu-toggle” is missing under parent menu “menu-item”
<li class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-42 current_page_item menu-item-has-children menu-item-76"><a href="/about/">About</a> <ul class="sub-menu"> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-372"><a href="/about/our-spa/">Our Spa</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-373"><a href="/about/dr-kolder/">Dr. Kolder</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-374"><a href="/about/our-team/">Our Team</a></li> </ul> </li>
As i see your demo mobile menu, i can clearly see the those span in sub menu items.
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1388 sfHover"><a href="http://demo.generatepress.com/sample-page/">Sample<span role="button" class="dropdown-menu-toggle" aria-expanded="true" tabindex="0"></span></a><ul class="sub-menu toggled-on"><li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1389"><a href="#">Sub Page 1<span role="button" class="dropdown-menu-toggle" aria-expanded="false" tabindex="0"></span></a> .....
Also i am facing the js error when i click on toggle menu in mobile
Uncaught TypeError: Cannot read property ‘setAttribute’ of null at HTMLButtonElement.<anonymous> (menu.min.js?ver=2.0.2:1)
https://s45dev.com/pacificamedicalspa/camarillo/about/
Please help me to fix this issue.
Thanks alot
The page I need help with: [log in to see the link]
- The topic ‘Submenu not adding span with class dropdown-menu-toggle in mobile’ is closed to new replies.