title: Bootstrap navbar active class drupal
body: <p>I`m rebuilding my old website into drupal 7. </p>
  
  <p>I decided to use the drupal bootstrap theme, because my older website also uses bootstrap.</p>
  
  <p><a href="http://drupal.org/project/bootstrap" rel="nofollow noreferrer">Bootstrap theme</a></p>
  
  <p>By default the drupal navbar is included in this theme, but one thing is missing. It doesn't support the active css class. Altough the mouse over works fine, i'do need a way to make links active, depending on what page is visited. So for example if the main page is visited, the class should change into active, like the images shows right here.</p>
  
  <p><img src="https://i.stack.imgur.com/0NmfK.png" alt="Example of how it should look like"></p>
  
  <p>I know there are some ways to do this with jquery, but the solution i found don't seem to work on a when i fully change to page. On my old website i added and removed the active class using the url, but since my goal is to make it easy to add and remove pages i don't can come up with an idea to do this.</p>