-
Notifications
You must be signed in to change notification settings - Fork 105
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
Bootstrap 4 #13
Comments
you can create a new presenter class for bootstrap 4. |
Yes, I do it but I don't know how to process the second level. I created a presenter like this one but I don't know if it's the best solution
|
Plus format your post, this is unreadable :D |
Sorry, Basically I created a presenter based on NavbarPresenter and override the method getChildMenuItems. The part modified is
I introduce the method getSubmenuWithoutDropdownWrapper with this code
This method write the correct class (dropdown-item) in the submenu. What do you think about this aproach? Thanks |
+1 for BS4 support out of the box. Would be great. Will see if I can submit a PR. |
Is there any solution at this point? |
i cant make a present with bootstrap 4 :( |
I did it. I used the idea of @drjoju . My implementation it was with AdminLTE 3 in SidebarMenuPresenter |
Hi,
https://blackrockdigital.github.io/startbootstrap-modern-business/
As you can see in the Bootstrap 4 menu, the first lavel of link has the class "nav-link". For example
<a class="nav-link" href="about.html">About</a>
In the second level the class is different, For example.
<a class="dropdown-item" href="portfolio-3-col.html">3 Column Portfolio</a>
As I see in the presenter there is only one place to set de class
How can we set the correct class in function of depth?
Thanks and best regards
The text was updated successfully, but these errors were encountered: