How do I remove the classes from the pager item-list in Drupal 7? I am in a Drupal 7 theme development where we need to over write the pager theme where the class "item-list" needs to be removed.

My current item-list HTML

&lt;div class="item-list"&gt;
&lt;ul class="pager"&gt;
    &lt;li class="pager-first first"&gt;&lt;a title="Go to first page" href="/node"&gt;« first&lt;/a&gt;&lt;/li&gt;
    &lt;li class="pager-previous"&gt;&lt;a title="Go to previous page" href="/node"&gt;‹ previous&lt;/a&gt;&lt;/li&gt;
    &lt;li class="pager-item"&gt;&lt;a title="Go to page 1" href="/node"&gt;1&lt;/a&gt;&lt;/li&gt;
    &lt;li class="pager-current"&gt;2&lt;/li&gt;
    &lt;li class="pager-item"&gt;&lt;a title="Go to page 3" href="/node?page=2"&gt;3&lt;/a&gt;&lt;/li&gt;
    &lt;li class="pager-next"&gt;&lt;a title="Go to next page" href="/node?page=2"&gt;next ›&lt;/a&gt;&lt;/li&gt;
    &lt;li class="pager-last last"&gt;&lt;a title="Go to last page" href="/node?page=2"&gt;last »&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;


And I need something like this

&lt;div class="pagination pagination-centered"&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a title="Go to first page" href="/node"&gt;« first&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a title="Go to previous page" href="/node"&gt;‹ previous&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a title="Go to page 1" href="/node"&gt;1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a title="Go to page 3" href="/node?page=2"&gt;3&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a title="Go to next page" href="/node?page=2"&gt;next ›&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a title="Go to last page" href="/node?page=2"&gt;last »&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
To override the markup of the pager, override the theme_pager() theme function.

However in your case you want to override the class in the item list so for that you need to also override theme_item_list().

For information on overriding theme functions see the beginners guide to overriding themeable output, and for more thorough drupal themeing information see themeing drupal 6 and 7