how to mage the submenu open on wordpress active page

When on the Corporate profile page, that menu item has the following classes: current_page_item current-menu-ancestor current_page_ancestor. Any of these are attached to a menu item when you are on that page, or a child page. Target these in your stylesheet, and set the .sub-container div to have display:block;. That should do the trick. Also, your … Read more

Subpages menu on sidebar plus widgets

If I’m understainding you correctly, you’ve hardcoded the wp_list_pages() function in to the widgetized area of the theme’s sidebar, and then, when you add a widget using WordPress’ back end Appearance->Widgets then you no longer see the output of the wp_list_pages() function? If that’s the case, then I think we’ve found your problem. If code … Read more

How to keep close a sub-menu under homepage? [closed]

To do that, you have to set hidden attribute to the sub menu. CSS #wrapper .fusion-vertical-menu-widget.left .menu .sub-menu { display: none; } to toggle display on the menu on hover over servizi, you can add jQuery hover to the menu item. jQuery var subMenu = jQuery(“#wrapper .fusion-vertical-menu-widget.left .menu .sub-menu”); jQuery(“#menu-item-12049”).hover(function(){ subMenu.show(); }, function(){ subMenu.hide(); }); … Read more

wp_nav_menu changed to wp_page_menu

Found the answer i’ve added changed the wp_nav_menu args to this: wp_nav_menu(array( ‘theme_location’ => ”, ‘menu’ => ”, ‘container’ => ”, ‘container_class’ => ”, ‘container_id’ => ”, ‘menu_class’ => ‘menu’, ‘menu_id’ => ”, ‘echo’ => true, ‘fallback_cb’ => ‘wp_page_menu’, ‘before’ => ”, ‘after’ => ”, ‘link_before’ => ”, ‘link_after’ => ”, ‘items_wrap’ => ‘<ul id=”%1$s” … Read more