I need to add a second menu in my current project (drupal 7-bootstrap-sass...)
So far I have added a region:

<div class="navbar navbar-default navbar-fixed-top">
  <div class="container">
  <?php print render($page['mininav']); ?>
</div>
</div>

The menu is in this region. So now I have a bar at the top of the page that holds these menu links.
What I am wondering about is how I should apply the classes to the menu links themselves?
Perhaps there is a better way to approach this.

Comments

tapscolaM’s picture

I am not sure if this will help https://www.drupal.org/project/menu_attributes

BertienBoon’s picture

I had installed this but just figured out how to use this module. There isn't a lot of documentation, and I didn't realize I just have to add the classes to the menu links :)
Still need to try it out, but it looks like it does exactly what is needed.

BertienBoon’s picture

Is there a simple way to add a class to LI?
I found this awnser on stackexchange, but I don't want to change theme functions. I would prefer a less complex solution.