Customize multi-level database menu

Following the example in wiki(http://www.yiiframework.com/wiki/523/generate-a-multi-lever-array-sub-category-for-a-menu/), I’m trying to customize the output of my 2 level database menu, but I can’t get it to display as an bootstrap sidebar, stacked pills or tabs.

Can I get a little hint on doing that? I’ve attached also an print screen of what is displayed from the database(using the default style) and how it should be looking for an better understanding

you could add the same style as parent menu and add padding left to push the links in so it looks like submenu/tree

I’ve and added the same style to the parent and submenu into the controller, without success the result is not even close to the static view.

As I understand by adding the bootstrap class to one element should be displayed using that class?

can you paste your markup and styles