OliveStudio / olivemenus

A powerful menus plugin for Craft CMS built for the need of simplicity and flexibility
MIT License
40 stars 22 forks source link

Added the ability to add a submenu class during initiation #24

Closed byronrode closed 5 years ago

byronrode commented 5 years ago

One of our client sites required using an existing class structure for sub-menus, and it was currently hard-coded as "sub-menu".

This change brings the ability to set an additional configuration of "sub-menu-ul-class" and adds the config to the getMenuItemHTML class to pass the config from initiation.

alinistrate commented 5 years ago

Hi @byronrode Thanks for the added feature. I merged the pull request.

Alin