Просмотр исходного кода

Fixed current page ancestor menu item

reference:
http://codex.wordpress.org/Function_Reference/wp_list_pages#Current-Page_Ancestor_Menu_Items
http://codex.wordpress.org/Function_Reference/wp_nav_menu#Current-Page_Menu_Items
José Luis Cruz 11 лет назад
Родитель
Сommit
ce57423b76
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      library/scss/breakpoints/_768up.scss

+ 2 - 2
library/scss/breakpoints/_768up.scss

@@ -115,7 +115,7 @@ NAVIGATION STYLES
 			/* highlight sub-menu current page */
 			/* highlight sub-menu current page */
 			li.current-menu-item,
 			li.current-menu-item,
 			li.current_page_item,
 			li.current_page_item,
-			li.current-page-ancestor {
+			li.current_page_ancestor {
 				a {}
 				a {}
 			}
 			}
 		}
 		}
@@ -131,7 +131,7 @@ NAVIGATION STYLES
 	/* highlight current page */
 	/* highlight current page */
 	li.current-menu-item,
 	li.current-menu-item,
 	li.current_page_item,
 	li.current_page_item,
-	li.current-page-ancestor {
+	li.current_page_ancestor {
 		a {}
 		a {}
 	}  /* end current highlighters */
 	}  /* end current highlighters */