I want to do some changes in Pagination::slider view, such as adding class and changing arrow style. How can I achieve that?
You can change the view by adjusting the configuration option in app/config/view.php
. Look for the pagination
configuration option, by default it will be pagination::slider
. This view namespace is set in the view environment.
Simply change this value to something like pagination.slider
and then create the view in views/pagination/slider.php
. You can then copy the original slider view and adjust it to fit your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With