Add class to ul element in views 3 unformatted list using templates or module code? I'm contributing to the Radix theme in D7 for panopoly, which uses Twitter Bootstrap.

I'm seeking out ways to implement as many of twitter bootstrap's awesome capabilities as possible, and thus not have to rely on overriding theme css, and to make it work 'natively' and rely on cleaner CSS.

So, the 'unstlyed' list property in Twitter Bootstrap is a perfect example of this.

&lt;ul class="unstyled"&gt;
  &lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;


However, I can't figure out how I would add this class to the views unformatted style by default using the theme.  Is this possible with template files, template.php code or an include file?  I would prefer to do this within the radix theme.  Help!
You could use the rewrite option in views to get the exact html output you need. Rewrite enables you to override the output of this field with custom text or replacement tokens. I use the last field, since the replacement tokens should be above the field you are rewriting. Make sure to go through set the field, label, wrapper html to None

In Views


Click on a Field
Click on Rewrite the output of this field
Add your code with the desired html output


Code

&lt;ul class="unstyled"&gt;
  &lt;li&gt;[field_degree]&lt;/li&gt;
  &lt;li&gt;[field_major] &lt;/li&gt;
&lt;/ul&gt;


Output

&lt;span class="field-item"&gt;
 &lt;ul class="unstyled"&gt;
   &lt;li&gt;Certificate&lt;/li&gt;
   &lt;li&gt;Supervision &lt;/li&gt;
 &lt;/ul&gt;
&lt;/span&gt;


OR you can


Click Advanced
Click CSS class
Add the name of your class "unstyled" to the entire view.