how to add a class to the widget pager of views slideshow I want to add a class to the widget pager of views slideshow. I found the function in the file /theme/views_slideshow.theme.inc wich theme the wrapper of the widget

function theme_views_slideshow_pager_widget_render($vars) {
  // Add javascript settings for the pager type.
  $js_vars = array(
    'viewsSlideshowPager' =&gt; array(
      $vars['vss_id'] =&gt; array(
        $vars['location'] =&gt; array(
          'type' =&gt; preg_replace('/_(.?)/e', "strtoupper('$1')", $vars['settings']['type']),
        ),
      ),
    ),
  );

  drupal_add_js($js_vars, 'setting');

  // Create some attributes
  $attributes['class'] = 'widget_pager widget_pager_' . $vars['location'];
  $attributes['id'] = 'widget_pager_' . $vars['location'] . '_' . $vars['vss_id'];
  return theme($vars['settings']['type'], array('vss_id' =&gt; $vars['vss_id'], 'view' =&gt; $vars['view'], 'settings' =&gt; $vars['settings'], 'location' =&gt; $vars['location'], 'attributes' =&gt; $attributes));
}


I just want to modify the line to add my own class (as grid-6 for example)

$attributes['class'] = 'widget_pager widget_pager_' . $vars['location'];


I try to use this function in my file template.php without success. 

the classes of the wigdet pager in my html code are :

views-slideshow-pager-fields widget_pager widget_pager_bottom views_slideshow_pager_field views-slideshow-pager-field-processed


So i imagine that an other function add the classes. But wich ?

How can i do this ? May i write a module or simply use a preprocess function in my template.php

Thanks
In fact, after looking at the HTML code generated by views slideshow, pager widget is contained in a div on the same level that the content of the slideshow. So even if I could add a class, it would not be useful because I already positioned text to the right of my image. So the div content of the slideshow is already 100% of the width (and the sub-content have already custom classes to position them in line) .

So I have to use position: absolute to position the pager widget, so I can just add my classes on the container of all global gadgets (positioned at the bottom) by overriding the template views-slideshow.tpl.php as below, and then use the default classes of the widget in my css.

views-slideshow--MY-BANNER.tpl.php 

&lt;div class="skin-&lt;?php print $skin; ?&gt;"&gt;
  &lt;?php if (!empty($top_widget_rendered)): ?&gt;
    &lt;div class="views-slideshow-controls-top clearfix"&gt;
      &lt;?php print $top_widget_rendered; ?&gt;
    &lt;/div&gt;
  &lt;?php endif; ?&gt;

  &lt;?php print $slideshow; ?&gt;

  &lt;?php if (!empty($bottom_widget_rendered)): ?&gt;
    &lt;div class="views-slideshow-controls-bottom MY-CLASSSES clearfix"&gt;
      &lt;?php print $bottom_widget_rendered; ?&gt;
    &lt;/div&gt;
  &lt;?php endif; ?&gt;
&lt;/div&gt;


But I'd like to know if this is possible and with wich function.