I'd like to add a class to the title (H1) of a view, so that a specific style could be applied. This is Drupal 6 with a Zen subtheme.
In the view rewrite the output of title as
then u can do the styling properties for this H1 in your CSS file easily.
If you're using Views 3, you should be able to click on Style Settings on the field, Customize field HTML. From there, you can set
H1 as the HTML element or click on "Create a CSS class" to add a class.
Simply you can do with
<div id="my_custom_class">my title</div>
another way need to overwrite template files of that view