I’m having a play with ListView and just wondering how to change the css for the pager. I just want to make it mini pagination (pagination pagination-sm). I’ve read the docs, but can’t seem to get it to change using the ‘pager’ part of ListView. How do you do this?
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
'pager'=>array(
'cssFile'=>Yii::app()->baseUrl.'/css/pagination.css' // provide a path to your css file in my case I have my file saved under root/css
)
)); ?>