-
AuthorPosts
-
October 23, 2017 at 6:51 pm #867789
Thanks, Ismail. That helped somewhat. The mobile menu expands however when clicking to expand the parent page automatically loads. I guess my question now is is there any differentiation on the burger menu between clicking on the parent page and expanding the submenu? Right now, the action appears to be two-fold with the parent page automatically selected while the submenu list expands. Viewers will end up on the parent page whether they want to or not.
As an example, open the website home page on mobile then expand the burger menu to show the Health Issues. You’ll find you are going to the Health Issues page while trying to view the submenu items. The menu collapses while the page loads, which forces the viewer to have to open the menu again.
Any further suggestions appreciated.
October 24, 2017 at 6:16 am #867983Hey!
Thank you for the confirmation. Did you do the second modification? This should disable the parent menu items’ link.
And then look for this line, right below the first one.
$('.html_av-submenu-display-click').on( 'click', '.av-width-submenu > a', function (e)
Replace it with:
$('.html_av-submenu-display-click, .html_av-submenu-display-hover').on( 'click', '.av-width-submenu > a', function (e)
// https://kriesi.at/support/topic/mobile-menu-not-showing-drop-down-sub-pages/#post-866919
Best regards,
IsmaelOctober 24, 2017 at 4:38 pm #868272Yes, I had already added the second modification. To be clear, I copied the js/avia.js and placed it in the child theme folder. Below is the revised script for it. Is this correct? If so, the main parent menu item link is not disabled as expected.
//toogle hide/show for submenu items
$(‘.html_av-submenu-display-hover’).on( ‘mouseenter touchstart’, ‘.av-width-submenu’, function (e)
{
$(this).children(“ul.sub-menu”).stop().slideDown(‘fast’);
});$(‘.html_av-submenu-display-hover’).on( ‘mouseleave touchstart’, ‘.av-width-submenu’, function (e)
{
$(this).children(“ul.sub-menu”).stop().slideUp(‘fast’);
});//toogle hide/show for submenu items
$(‘.html_av-submenu-display-click, .html_av-submenu-display-hover’).on( ‘click’, ‘.av-width-submenu > a’, function (e)
{
e.preventDefault();
e.stopImmediatePropagation();var clicked = $(this), parent = clicked.parents(‘li’).eq(0);
parent.toggleClass(‘av-show-submenu’);
if(parent.is(‘.av-show-submenu’))
{
parent.children(“ul.sub-menu”).slideDown(‘fast’);
}
else
{
parent.children(“ul.sub-menu”).slideUp(‘fast’);
}});
- This reply was modified 7 years, 1 month ago by GWS.
October 25, 2017 at 4:54 am #868527Hi,
I can still see the “sliding” issue. Please try the modification in the parent theme’s js > avia.js file. Remove browser cache or hard refresh before checking the page.
Best regards,
IsmaelOctober 25, 2017 at 8:51 pm #868944Ismael,
I did as you asked and changed the avia.js in the parent theme using the same verified script. We still have the same issue with the parent page loading when trying to expand the submenu. Do you have any other suggestions? Thanks.
October 26, 2017 at 1:24 am #869024Hey, Would you guys please open up a new thread for these non-soevolve’s initial support request!
We started this ticket for issues pertaining to the mobile menu (still not fixed problem)!!!!!!!!!!!!!!!!!We don’t want to have to uncheck the email updates to coming updates!
Cheers
Avery
October 26, 2017 at 8:11 am #869120Hi,
@GWS: The issue is fixed in the latest version of the theme. Please upgrade to version 4.2.
@So Evolve: I’m so sorry about that. Please upgrade to version 4.2.
Best regards,
IsmaelOctober 27, 2017 at 5:57 pm #869696Ismael,
The upgrade helped as the mobile drop down menu loads correctly and is no longer erratic, however once the dropdown menu expands the parent page is not clickable. We would like to be able to navigate to all of the pages from the mobile menu. Please advise. Thanks.
@So Evolve: Sorry, I thought my questions were relevant to your issue as the mobile drop down menu clearly has been a problem for both of us.
October 27, 2017 at 6:15 pm #869698Hi!
Please go to Enfold theme options > Main Menu > Burger/Mobile Menu > Clone title menu items to submenu and choose to clone
Regards,
YigitOctober 27, 2017 at 7:32 pm #869724This reply has been marked as private.October 28, 2017 at 4:35 pm #869958Hi,
The option is still visible on our installation. Please create a new thread or ticket. We’ll keep this thread open for the original poster.
Best regards,
IsmaelOctober 28, 2017 at 5:24 pm #869973If the latest version is 4.2, why am I getting this in my Dashboard?
“No Updates available. You are running the latest version! (4.1.2)”
I’ve updated [manually] to version 4.2 but would still like to know why the update alert didn’t show (Theme Forest API is being used).
Also, more importantly, updating to v4.2 did not fix the issue for me.
- This reply was modified 7 years ago by magpie6.
October 28, 2017 at 5:29 pm #869977This reply has been marked as private.October 29, 2017 at 7:18 pm #870179Ok, Ismael. I’ll create a new thread. Thank you.
October 30, 2017 at 7:04 am #870364Hi,
@magpie6: Please try to clear the site’s transients or update the theme manually.// https://kriesi.at/documentation/enfold/portfolio-item/update-theme-files-with-ftp/
// https://wordpress.org/plugins/artiss-transient-cleaner/Best regards,
IsmaelMay 7, 2019 at 5:12 pm #1098134Hello
I enabled http://prntscr.com/nllhhs “Display submenu items on click” option for the mobile version of the website.
I was wondering if it is possible, that when someone clicks on another menu item that also has submenu items, the previous one to close automatically ?
Example: http://prntscr.com/nllj2z it is open and when this http://prntscr.com/nlljfb is opened the other one to close.Is it possible for these items (the ones that have submenus) to have a > indicator, that could indicate that there are subpoages there.
example: something like this http://prntscr.com/nllkor
The first and the last item does not any subpages so it does not need any of the arrows, but the ones that have subpages should haveThanks a lot
Have a good oneMay 10, 2019 at 3:02 am #1099113 -
AuthorPosts
- The topic ‘Mobile Menu – Not Showing Drop Down (sub pages)’ is closed to new replies.