Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #832134

    Hi,

    On mobile devices the sub menus of the Mega Menu dont unfold = shows sub items (subpages) if there is no real page behind the main menu item.
    = the main item is an individual item with no URL or the usual “#” as URL.

    Look here:

    http://www.openandromaps.org/

    Move cursor to main item “Kartenstile” – there are three subitems/pages below the main item.
    In the mobile view these subitems do not appear !!

    If there is a real page behind the the main item, the subitems are shown.

    Please provide a fix, 70% of my visitors are on mobile devices!

    Best regards
    Christian

    #832144

    Please try “Projekt” instead of “Kartenstile”
    I fixed “Kartenstile” by adding a page to the main menu item ’cause I cant wait for a fix

    #832161

    My website is multilingual EN/DE using WPML.
    The german site shows the layer of the menu with white background and black chars.
    The english site shows the layer of the menu with transparent background and grey/blue chars.
    NOTE: Solved by purging CDN, sorry

    HOWEVER: The problem with MegaMenu persists !!

    • This reply was modified 7 years, 3 months ago by kech61.
    #833475

    Hey!

    We have reported the issue to our devs already and we will be providing a solution as soon as possible. In the meantime, you can choose not to use your menu item as mega menu.
    Alternatively, you can add following code to Functions.php file in Appearance > Editor and display different menu on mobile

    function av_different_mobile_menu( $args = '' ) {
    	if($args['menu_id'] == 'avia-menu') {
    		if(wp_is_mobile()) {
    			$args['menu'] = 'main-menu-mobile';
    		} else {
    			$args['menu'] = 'main-menu';
    		}
    	}
    	return $args;
    }
    add_filter( 'wp_nav_menu_args', 'av_different_mobile_menu' );

    Please make sure to replace menu names (“main-menu” and “main-menu-mobile”) in the code to match the name of your menus

    Regards,
    Yigit

    #833833

    /* you can choose not to use your menu item as mega menu. */

    Mega Menu Items show up right.

    The problem is: If you chose an “Individual link” with no URL or “#” as URL as main/top item in the menu, the sub items do not unfold.
    These top menu items are most often used when it makes no sense to link any contend to an menu item and use the main menu item only as “header item” for the menu items below.

    I’v solved the issue by adding dummy pages to the top menu items – however this no long term solution.

    #833913

    I had luck using ## for that

    #836034

    Hi,

    Please do use the code Yigit provided – but also the temporary solution with # and http.
    Our developers are working already to fix the problem the faster and to release a valid version
    with no issues at all

    Best regards,
    Basilis

    #836040

    Thanks!
    Will do so

    Best regards
    Christian

    #898194

    This is the same problem I’m having now in January 2018… has this bug been corrected? Or is there a workaround?

    Thanks

    https://kriesi.at/support/topic/mega-menu-problems-on-mobile/

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.