Adding menu classes
dcrocks opened this issue · 3 comments
Downloaded your drupal theme but don't see where you set icon classes on menu items. Understand the CSS but where are classes set? f have ways of doing that but not happy with them so I am interested in seeing how others do it.
Base Building Blocks uses Font Awesome. You can add the Icons by adding tags, and using the reference here : http://fortawesome.github.com/Font-Awesome/ to get the right classes. For instance, < i class="icon-beaker"> would return a little icon of a beaker. :)
I understand how to do the styling. In the example a class name is added to the menu item and there is a selector in the css that matches the class name. But in your drupal theme demo site how do you add the class name to the menu item? Do you use one of the contrib modules(eg. menu_attributes)? Or do you have your own method. I didn't see anything in the downloaded code.
When I install your theme in a vanilla drupal and enable it, it doesn't display any icons. What is the extra step?
Well, I see it now. I used git to pul your code and it didn't get everything. I brought down the zip file and now can see every thing you do for icons.