M
M
Max DangerPro2016-10-30 21:58:15
Yii
Max DangerPro, 2016-10-30 21:58:15

How to style pagination in Yii2?

How to style pagination in Yii2. It displays its own pagination, with its own structure and its own styles. How can I change it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2016-10-31
@DangerPro

The easy way is to override the styles in css, you can usually achieve anything in this way.
Either override the viewPath of yii\widgets\LinkPage or other parameters, this widget is very flexible, here are the docs: www.yiiframework.com/doc-2.0/yii-widgets-linkpager.html
Or write your own widget

D
Dmitry, 2016-10-30
@slo_nik

Good evening.
There is a LinkPager widget .
You can override styles with your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question