• With the WP5.5 release I had some problems with my bento-child theme.
    I fixed the jquery issues locally, but the menu problem stayed broken.

    After updating to current bento and merging/removing my changes the problem is still there.

    My issue is with LEFT-HAND MENU on desktop, on all pages. I’ve temporarily worked around by switching to a top menu.

    There is an error at the marked line in theme-scripts.js (e is undefined)
    But even if I guard it with ‘if (e) e.preventDefault()’, the menu is still wrong.

    	} else if ( bentoThemeVars.menu_config == 3 ) {
    		$str('.primary-menu .menu-item-has-children > a').toggle(function(e) {
    			if ( ! $str(this).hasClass('opened-side-menu') ) {
    				$str(this).addClass('opened-side-menu');
    			}
    			$str(this).siblings('.sub-menu').slideDown(200);
    		}, function(e) {
    			e.preventDefault(); <--- *******************
    			if ( $str(this).hasClass('opened-side-menu') ) {
    				$str(this).removeClass('opened-side-menu');
    			}
    			$str(this).siblings('.sub-menu').slideUp(200);
    		});
    	}

    It seems to be menu items with submenus which are broken

    • This topic was modified 4 years, 2 months ago by cdcooperuk.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Left-side menu still broken’ is closed to new replies.