By bzsim on
When I add a link to a menu, for some reason each item is getting assigned the class "active". I'm not sure why it is doing that. It defeats the purpose of having buttons for the active state! Does anyone know why this is happening?
Comments
And just to confirm, I have a
And just to confirm, I have a 2nd site setup with Drupal 7 and it is NOT adding the active class to every menu item there, but for some reason it is on my other site. Not sure what the difference would be?
I realized that Drupal
I realized that Drupal assigns "active" class to the path "front" and since I didn't have my pages created yet, but wanted to style the menu, I was setting the path to front hence each link was getting the class of active. :/