From: Ian Weller Date: Tue, 4 Aug 2015 13:17:27 +0000 (-0400) Subject: updating right dropdown point X-Git-Tag: v1.0.0^2~97 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a001bd5864e859a55363066921a1454bd49ff914;p=WP-Themes%2Fwesternup.git updating right dropdown point --- diff --git a/functions.php b/functions.php index ce8193b..1c23a9e 100644 --- a/functions.php +++ b/functions.php @@ -76,7 +76,7 @@ class Westernupcvb_Top_Bar_Walker extends Walker_Nav_Menu { $element->has_children = ! empty( $children_elements[ $element->ID ] ); $element->classes[] = ( $element->current || $element->current_item_ancestor ) ? 'active' : ''; $element->classes[] = ( $element->has_children && 1 !== $max_depth ) ? 'has-dropdown' : ''; - $element->classes[] = ( $element->post_parent == 0 && $element->menu_order > 7 ) ? 'drop-right' : 'drop-left'; + $element->classes[] = ( $element->post_parent == 0 && $element->menu_order > 10 ) ? 'drop-right' : 'drop-left'; parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); }