Add style to pagination |
HI , i use pagination on my project :
Code: <div class="d-flex justify-content-end "> How can i add custom style to pagination ?
If you want custom Pagination styles then you would need to add them to the Pagination Templates.
Create your css classes and add them to the templates. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Pls, read docs. if you don't understand it in the manual, I do not know how to explain it in more detail.
Writing code for you is too good...
(08-23-2023, 07:49 AM)ozornick Wrote: Pls, read docs. if you don't understand it in the manual, I do not know how to explain it in more detail. hi , i found this example: https://forum.codeigniter.com/thread-77274.html This is my code : bootstrap_full.php: Code: <div class="d-flex justify-content-end "> bootstrap_simple.php: Code: <?php Controller: Code: $lista=$viaggi_model->where('id_users',session()->get('user_id')) in view: Code: <div class="d-flex justify-content-end "> But this is the result: https://imgur.com/ONHrzNY.png If i use bootstrap_simple it seem ok : https://imgur.com/aRS5veH.png It seem on bootstrap full that there aren't $pager->hasNext() and $pager->hasPrevious() What's wrong ?
Did you save the Pagination templates in the correct folder?
App/Views/Pager/templates.php Add the Pager paths to App/Config/Pager.php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Yes , i see the style but not the previous and next button...
It seem on bootstrap full that there aren't $pager->hasNext() and $pager->hasPrevious() |
Welcome Guest, Not a member yet? Register Sign In |