Skip to content

Commit aaeeb1f

Browse files
authored
Update README.md
1 parent a35eb9a commit aaeeb1f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ The syntax is very simple, all menu items are logically grouped by depth to avoi
4141
/* Top level items */
4242
.my-menu__item{}
4343

44-
/* Specific item (where x = post_id) */
45-
.my-menu__item--x{}
46-
4744
/* Parent item */
4845
.my-menu__item--parent{}
4946

@@ -60,16 +57,14 @@ The syntax is very simple, all menu items are logically grouped by depth to avoi
6057
.my-menu__link{}
6158

6259
/* sub menu class */
63-
.my-menu__sub-menu{}
60+
.my-menu-sub{}
6461

6562
/* sub menu item */
66-
.my-menu__sub-menu-item{}
63+
.my-menu-sub__item{}
6764

6865
/* sub menu link */
69-
.my-menu__sub-menu__link{}
66+
.my-menu-sub__link{}
7067

71-
/* Specific sub menu (where x is the menu depth) */
72-
.my-menu__sub-menu--x{}
7368

7469
```
7570

@@ -85,8 +80,8 @@ $this->item_css_classes = array(
8580
'parent_of_active_item' => '__item--parent--active',
8681
'ancestor_of_active_item' => '__item--ancestor--active',
8782
'link' => '__link',
88-
'sub_menu' => '__sub-menu',
89-
'sub_menu_item' => '__sub-menu__item'
83+
'sub_menu' => '-sub',
84+
'sub_menu_item' => '-sub__item'
9085
);
9186

9287
```

0 commit comments

Comments
 (0)