benfreke/oc-menumanager-plugin

Extra dynamic parameter for li > a elements

Opened this issue · 1 comments

Hi Ben,

It's a very useful plugin!
Is it possible to add extra dynamic parameter e.g. "listItemLinkClasses" which will add custom classes(es) to the li > a element of the menu items?

Thank you,
Nikolaos

Hi Nikolaos

Anything is possible. Currently this isn't possible because I based the template on Bootstrap3 when I wrote this, and they don't have dynamic classes on the a links.

You can definitely hardcode this in if you're after a specific class. https://leaderinternet.com/blog/customise-october-cms#customise-plugin has some great instructions on how to do that.

As for making it dynamic, I can definitely look into that but it won't be soon.

Let me know if I've understood your question and hopefully answered it :)