Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize submenu classes (cross-post from electricfunction's support site) #10

Open
superlinkx opened this issue Apr 2, 2014 · 1 comment

Comments

@superlinkx
Copy link

I wasn't sure whether this is best tracked on GitHub or the old support site, so I'm posting it in both places. To be clear, this is a feature request, but I believe it to be an important one, especially for those making Bootstrap based themes.

"I've been working on converting a bootstrap theme to Hero Framework, and one of the challenges I ran into was getting submenus to work without using the .children class. The easiest solution would be if there was a way to add custom classes to submenus, similar to how you can add classes to the main {menu} tags.

Currently, I'd have to rewrite significant parts of the bootstrap theme to make it work correctly in Hero. Luckily, my client won't be needing dropdown menus right away, but a little flexibility in how the menu system works would definitely be appreciated."

@josev814
Copy link

I made a fix for this in my fork. {menu child_class="bootstrap_child"} will result in .bootstrap_child being added as a class to the ul for child sub-menus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants