-
AuthorPosts
-
November 3, 2017 at 1:27 pm #872134
Hi
after update to the latest Enfold version our menu in mobile devices does NOT work anymore.
80% of our links in the first level are empty-parent links (#)
The submenu-links do not fly out – anyway what option we do choose in the settings (we tried every single option)So our customers are not able to reach the most important parts of our website.
The only way to make the links work is to make them ALL visible but this looks terrible since its foobars usability.This is the content of our child-themes header.php (recommended by you over the times)
<?php global $avia_config; $style = $avia_config['box_class']; $responsive = avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout"; $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; $av_lightbox= avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox'; $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled'; ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo " html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".avia_header_class_string();?> "> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name=“pinterest“ content=“nopin“ /> <!-- page title, displayed in your browser bar --> <title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } /* * outputs a favicon if defined */ if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); } ?> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>> <?php if("av-preloader-active av-preloader-enabled" === $preloader) {echo avia_preload_screen(); } ?> <div id='wrap_all'> <?php if(!$blank) //blank templates dont display header nor footer { //fetch the template file that holds the main menu, located in includes/helper-menu-main.php get_template_part( 'includes/helper', 'main-menu' );} ?> <div id='main' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'> <?php do_action('ava_after_main_container'); ?>
We need a fix for that very soon.
Thanx
MartinNovember 4, 2017 at 8:59 am #872429Hey digitalprint2222,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardJanuary 9, 2018 at 4:30 pm #895281Did you found a solution? I run into the same problem. We want to have the top-level of the main menu non-clickable (we don’t have any page for it), so I use custom-links and set the URL to #. But then your burger menu don’t know how to handle clicks on the top-level menu entries as long as the “Menu Item Submenu Items” entry is set to “Display submenu items on click” (on hover works, but we don’t like the handling).
That you have the option not to clone the title menu or not looks like you have support for the idea to have an non-clickable top level, but I have no idea how I must create the menu so that this works.
January 10, 2018 at 7:29 am #895540 -
AuthorPosts
- You must be logged in to reply to this topic.