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

Configuring homepage_sections #28

Open
glimmung opened this issue Jan 26, 2017 · 2 comments
Open

Configuring homepage_sections #28

glimmung opened this issue Jan 26, 2017 · 2 comments

Comments

@glimmung
Copy link

I'm trying to configure this as a "normal" bootstrap menu, so for a section with children I have added a clickable version of the section so that the "section" click open it and the first item takes the user to the folder. That works fine.

The issue is items in the dropdown which themselves have children, which are inactive. Is there a recommended way to address this? I had thought that setting bottomLevel would control the depth but apparently not. I don't see an elegant way to customise homepage_sections to fix these (I do see an inelegant way!), but since the default behaviour gives "dead" menu items, I wondered if I was overlooking something?

@erral
Copy link
Member

erral commented Jan 27, 2017

Hi.

It looks like the default markup and CSS provided by Bootstrap doesn't allow nested dropdown menus. And the markup in the menu was to allow those nested menus.

Please check the code on this branch, and if that works for you, I will be happy to merge the pull-request and release a new version.

https://github.com/collective/plonetheme.bootstrap/tree/dropdown-menu-fix

@erral
Copy link
Member

erral commented Jan 27, 2017

If you want to make nested dropdown menus, you can check this fiddle:

https://codepen.io/ajaypatelaj/pen/prHjD

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