If you are using the Bootstrap addon, you don’t need to initialize your menu like this:
$(function() {
$('#main-menu').smartmenus({
noMouseOver:true,
subIndicatorsText: " <i class='fa fa-caret-down' aria-hidden='true'></i>",
subIndicatorsPos: "append",
});
Just add any custom options in “jquery.smartmenus.bootstrap.js” after this line:
$this.smartmenus({
e.g. like this:
$this.smartmenus({
noMouseOver: true,
...
The next version will allow setting any options via a new attribute “data-sm-options” but for now editing the “jquery.smartmenus.bootstrap.js” file is required.