Add Css class to previous_posts_link() and next_posts_link() to add pagination. Add to function.php
<?php
/*Add css class to older post and newer post used in the previous_posts_link() and next_posts_link() functions*/
add_filter('previous_posts_link_attributes', 'older_posts');
add_filter('next_posts_link_attributes', 'newer_posts');
function newer_posts() {
return 'class="newer_posts"';
}
function older_posts() {
return 'class="older_posts"';
}
?>