It looks like you're new here. If you want to get involved, click one of these buttons!
I see that the "styles" parameter is included in the menu class. It says it is a nested array, but there is no documentation of what its structure is to be.
I will be using code similar to
<?php echo fuel_nav(array('container_tag_id' => 'topmenu', 'item_id_prefix' => 'topmenu_')); ?>
I have a 2-level menu that needs a specific class on every
element...Can you give me an example of how FUEL wants that styles array structured?
Thank you
Comments
sorry -- my tag got stripped. It needs to be on every li
The index of the
styles
array indicates the nested depth to apply the styles:Thank you. That helps a lot.