Menu system in bottstrap 3
Closed this issue · 1 comments
OsoTranquilo commented
Something has changed in this latest version.
I am unable to properly operate the system menus and submenus using the Blank Template 2.5.0.
I tried to edit the index.html but I think we need to change also the joomla module menus.
Someone already tried this new version?
Any solution?
Thank you.
OsoTranquilo commented
Good morning.
I worked on this problem and found a solution.
It works well, regardless of the menu item that has the dropdown
I work with active jQuery adn Bootstrap
1 .- Modify the file: default.php on \html\mod_menu replace the line 23 where it says:
class="nav menu<?php
by
class="nav navbar-nav<?php
2 .- Insert the following script into the index.php before </ body>
< script type="text/javascript">
$('.deeper').addClass('dropdown');
$('.deeper > a').addClass('dropdown-toggle');
$('.deeper > a').attr('href', '#');
$('.deeper > a').attr('data-toggle', 'dropdown');
$('.deeper > a').append(' <span class="caret"></span>');
< /script>
If anyone can try it and confirm it works, I'd be grateful.
A hug.