Customize the KnpMenuBundle
CSS works for this case, but sometimes you might need to add or change the markup more significantly. For that you can use a custom renderer as defined here: https://github.com/KnpLabs/KnpMenuBundle/blob/master/Resources/doc/custom_renderer.md An example of a bundle that does this is the MopaBoostrapBundle I’ve highlighted the important parts here. The service definition where the knp_menu.renderer tag is … Read more