diff --git a/Resources/doc/cookbook/menu.md b/Resources/doc/cookbook/menu.md index 84924d67..b73c771c 100644 --- a/Resources/doc/cookbook/menu.md +++ b/Resources/doc/cookbook/menu.md @@ -101,6 +101,9 @@ public function navbarMenu(FactoryInterface $factory, array $options) // set id for root item, and class for nice twitter bootstrap style $menu->setChildrenAttributes(array('id' => 'main_navigation', 'class' => 'nav')); + // add "navbar-nav" class for Twitter Bootstrap3 theme + //$menu->setChildrenAttributes(array('id' => 'main_navigation', 'class' => 'nav navbar-nav')); + // add links $menu $this->addLinkURI($menu, 'Item1', 'http://www.google.com'); $this->addLinkRoute($menu, 'Item2', 'Your_RouteName');