Deepak Kumar Deepak Kumar - 2 months ago 11
PHP Question

How can we add dropdown in KnpMenu in Symfony?

I am already having a menu built using KnpMenu in Symfony project. But, it is having just four childs meas four menu items. Now, I have to add dropdown. If anyone has any idea, please, comment. Please, help how to get its dropdown css, dropdown classses, how to customize it.

Reference -


Dropdown can be added by adding child too the menu items in php file and for formatting use own class or bootstrap class.